PFonseca

Developer

View site on GitHub Statuses Archives

git revert

Revert the last change from git repository but keep your changes to commit:
git reset --soft HEAD~1


Revert the last change from git repository and remove your changes:
git reset --hard HEAD~1


Published on 15/04/2015 at 20h53 by pfonseca, tags


Powered by Publify