Add 'g amend' (and also 'g ammend' because I have trouble spelling that one)

This commit is contained in:
Will Hilton 2017-03-26 12:33:17 -04:00
parent a7bfe90bf5
commit 6d70d51984
No known key found for this signature in database
GPG key ID: 9609B8A5928BA6B9
2 changed files with 5 additions and 0 deletions

4
bin/g
View file

@ -167,6 +167,10 @@ uncommit)
git reset --soft HEAD~1
;;
amend | ammend)
git commit --amend --no-edit
;;
'@' | branch)
echo 'Switching to branch'
if [ -z "$2" ]; then