Git Paste these in ~/.gitconfig or use the git alias --global command: [alias] unstage = reset HEAD -- last = log -1 HEAD