I\'m a recent git convert. It\'s great to be able to use git-svn to keep my branches locally without disturbing the svn server. There was a bug that existed in the latest versio
Update 2019: the proper command would be
git restore -s @~1
(to, for instance, restore files at their state in HEAD parent commit)
That is because:
git checkout HEAD~ -- .
@
as a shortcut notation for HEAD
.