ayooow
Last Updated: February 25, 2016
·
696
· elcuervo
2bf6a27deb550fa388da2c99c8abde12

git undo

git

Add this to your ~/.gitconfig

[alias]
    undo = reset --soft HEAD@{1}

Now if you do something stupid (like an amend that should not exist) just run : git undo.

Say Thanks
Respond
Filed Under