Thursday, July 3, 2014

Git revert changes

git reset <filename> to unstage the file

Once unstaged,
git checkout -- <filename> to get rid of the changes and go back to normal

No comments:

Post a Comment