Reputation: 3379
This is my first time using GIT so I may completely be using it wrong or misunderstanding, but in VS 2013's built in GIT version control, I create a new branch and make some changes but those changes seem to be there even when I switch back to my main branch.
Is this how it's suppose to work? I assume that changes I make in one branch would not affect another branches' code...?
Upvotes: 1
Views: 1282
Reputation: 1323973
You need to add and commit those files, before switching branches.
Otherwise, those private (ie not versioned) files will still be there when switching branches.
Upvotes: 1