1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

aliases: add gcmst for committing with autostash

This commit is contained in:
Joe Groocock 2018-03-14 02:15:49 +00:00
parent c11c48422c
commit a56610b939
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -105,6 +105,7 @@ alias gaa="ga -A"
alias grm="git rm"
alias gc="git commit"
alias gcm="gc -m"
gcmst() { git stash -u -k && git commit -m "$1" && git stash pop; }
alias gca="git commit --amend"
alias gcan="git commit --amend --no-edit"
alias gcam="git commit --amend -m"