WorkingDirectory in .gitignore?
Posted: Wed Jun 29, 2022 12:31 pm
Frank and I use a different working directory. Every time I pull his changes, I have to change in project properties, Debug, Working Directory.
That also means that a next pull will fail because this single change leads to a dozen or so "uncommitted changes" which I have to stash every time to enable me to pull Frank's changes. With the risk that if I change something which wasn't committed that I lose it for Frank to use. Or the risk that I commit all and Frank has to change his working directory.
We know that in the .xsproj <DebuggerWorkingDirectory> is where the directory is stored. However, if we add the project file in .gitignore, important changes like references are not exchanged either.
Is there a solution for this (apart from using the same working directory which has other disadvantages)?
Dick
That also means that a next pull will fail because this single change leads to a dozen or so "uncommitted changes" which I have to stash every time to enable me to pull Frank's changes. With the risk that if I change something which wasn't committed that I lose it for Frank to use. Or the risk that I commit all and Frank has to change his working directory.
We know that in the .xsproj <DebuggerWorkingDirectory> is where the directory is stored. However, if we add the project file in .gitignore, important changes like references are not exchanged either.
Is there a solution for this (apart from using the same working directory which has other disadvantages)?
Dick