Add "git undo commit" and update README

This commit is contained in:
William Hilton 2015-08-04 14:22:17 -04:00
parent d77cda3a31
commit 65a868210d
2 changed files with 13 additions and 1 deletions

View file

@ -54,6 +54,15 @@ else
fi
;;
undo)
case "$2" in
commit)
echo Undoing last commit
git reset --soft HEAD~1
;;
esac
;;
branch)
echo 'Switching to branch'
if [ -z "$2" ]; then