git: delete aliase
This commit is contained in:
parent
3081ca75d7
commit
cd56234c22
1 changed files with 10 additions and 0 deletions
10
.gitconfig
10
.gitconfig
|
@ -13,6 +13,16 @@
|
|||
remote = remote -v
|
||||
stagep = stage -p
|
||||
last = log -1 HEAD --stat
|
||||
|
||||
# Delete all local branches but master and the current one, only if they are fully merged with master.
|
||||
dbra = "!f(){\
|
||||
git branch | grep -v "master" | grep -v ^* | xargs git branch -d;\
|
||||
}; f"
|
||||
# Delete all local branches but master and the current one.
|
||||
dbraf = "!f(){\
|
||||
git branch | grep -v "master" | grep -v ^* | xargs git branch -D;\
|
||||
}; f"
|
||||
|
||||
[core]
|
||||
editor = vim
|
||||
[help]
|
||||
|
|
Loading…
Reference in a new issue