Do you know these important git commands?
23/05/2014 6:08 AM by
Git Reset – Discard your local changes and revert to your last Commit
- Figure: When trying to undo a change you will sometimes get errors. The answer is to exit Visual Studio and use the command line
- Figure: use ‘git reset --hard HEAD’ to throw away all your uncommitted changes
A common cause of Visual Studio failing to undo changes is an incomplete .gitignore file. See
for more information.
Do you feel this rule needs an update?