1
0
Fork 0
dotfiles/bin/git-undo

6 lines
95 B
Bash
Executable File

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