Add alias to clean up local git branches
This commit is contained in:
parent
e977705b22
commit
5a2b6fd9e3
1 changed files with 2 additions and 1 deletions
3
.aliases
3
.aliases
|
@ -17,12 +17,13 @@ alias g="g" # overwrite g alias in git plugin so function will work
|
||||||
alias ga="git add"
|
alias ga="git add"
|
||||||
alias gaa="git add --all"
|
alias gaa="git add --all"
|
||||||
alias gap="git add --patch"
|
alias gap="git add --patch"
|
||||||
|
alias gbc="git branch --merged master | grep -v master | xargs git branch -d"
|
||||||
alias gc="git commit"
|
alias gc="git commit"
|
||||||
alias gcm="echo Do not specify message at command line. Use gc"
|
alias gcm="echo Do not specify message at command line. Use gc"
|
||||||
alias gco="git checkout"
|
alias gco="git checkout"
|
||||||
alias gd="git diff"
|
alias gd="git diff"
|
||||||
alias gdc="git diff --cached"
|
alias gdc="git diff --cached"
|
||||||
alias gdc="git diff --stat"
|
alias gds="git diff --stat"
|
||||||
alias gfl="git log --patch"
|
alias gfl="git log --patch"
|
||||||
alias gi="gitignore-io"
|
alias gi="gitignore-io"
|
||||||
alias gl="git log"
|
alias gl="git log"
|
||||||
|
|
Loading…
Reference in a new issue