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:
parent
c11c48422c
commit
a56610b939
1
aliases
1
aliases
@ -105,6 +105,7 @@ alias gaa="ga -A"
|
|||||||
alias grm="git rm"
|
alias grm="git rm"
|
||||||
alias gc="git commit"
|
alias gc="git commit"
|
||||||
alias gcm="gc -m"
|
alias gcm="gc -m"
|
||||||
|
gcmst() { git stash -u -k && git commit -m "$1" && git stash pop; }
|
||||||
alias gca="git commit --amend"
|
alias gca="git commit --amend"
|
||||||
alias gcan="git commit --amend --no-edit"
|
alias gcan="git commit --amend --no-edit"
|
||||||
alias gcam="git commit --amend -m"
|
alias gcam="git commit --amend -m"
|
||||||
|
Loading…
Reference in New Issue
Block a user