mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-22 06:28:08 +01:00
remove unused pushbranch & protect pushf
This commit is contained in:
parent
8b077316d4
commit
84d337b6f8
1 changed files with 1 additions and 3 deletions
|
@ -36,9 +36,7 @@
|
||||||
syn = ! "git pull --rebase && git push"
|
syn = ! "git pull --rebase && git push"
|
||||||
gone = ! "git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '$2 == \"[gone]\" {print $1}' | xargs -r git branch -D"
|
gone = ! "git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '$2 == \"[gone]\" {print $1}' | xargs -r git branch -D"
|
||||||
praise = blame
|
praise = blame
|
||||||
pushbranch = ! "git push -u origin $(git rev-parse --abbrev-ref HEAD)"
|
pushf = push --force-with-lease --force-if-includes
|
||||||
pushu = pushbranch
|
|
||||||
pushf = push -f
|
|
||||||
cobf = ! "f() { git branch -D $1 && git switch -c $1; }; f"
|
cobf = ! "f() { git branch -D $1 && git switch -c $1; }; f"
|
||||||
sw = switch
|
sw = switch
|
||||||
swc = switch
|
swc = switch
|
||||||
|
|
Loading…
Reference in a new issue