Git in VS 2015 is driving me insane!
When I publish the applications, I get a whole lot of build files etc. in the Git changes folder.
This is despite these files being in the .gitignore.
Undoing the changes does nothing. The changes still sit in the folder.
Then I figured out that:
git reset --hard
gets rid of everything.
Always check with:
git status
before and after and always ensure you are on the correct branch.
Enjoy!
No comments:
Post a Comment