dotfiles/bin/git-undo

6 lines
95 B
Plaintext
Raw Normal View History

2013-05-23 13:17:40 +04:00
#!/bin/sh
#
# Undo your last commit, but don't throw away your changes
git reset --soft HEAD^