dotfiles/bin/git-undo
Gregory Eremin 7829058f8e FISH
2013-05-23 13:17:40 +04:00

6 lines
95 B
Bash
Executable File

#!/bin/sh
#
# Undo your last commit, but don't throw away your changes
git reset --soft HEAD^