Answering my own question after doing further testing. I noticed in the message that offered to move the changes to master that it said uncommitted changes. I am a full time project manager that was a programmer and still do some programming. So maybe my memory was wrong but I don't believe I had to commit changes in a branch in order for them to stay in the branch. But if I do commit the changes in newbranch I can then change back to an unchanged master. If anyone knows how to avoid this by some sort of option let me know.
VS2019 change in newbranch also happens in master
Bill Pennock
1
Reputation point
steps: In Visual Studio Community 2019
- Create a newbranch from Master
- switch to newbranch using git changes view locals
- make a code change to a file and save and close
- git changes show the changes but I haven't staged them yet
- switch to master same way
- wait for the background task to complete
- open up the file and it has the same changes I just made to newbranch
I don't get it?
Community Center | Not monitored
46,258 questions