Monday, October 26, 2015

Git: cancel staged file update

With git log check which commit is one prior the update. Then you can reset it using:
git reset  filename
git checkout filename