Add git alias : git force
This commit is contained in:
parent
2944a7a99f
commit
900615b7dc
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
||||||
f = fetch -p
|
f = fetch -p
|
||||||
nb = checkout -b
|
nb = checkout -b
|
||||||
p = push -u origin
|
p = push -u origin
|
||||||
|
pf = p --force-with-lease
|
||||||
s = status
|
s = status
|
||||||
track = "!for BRANCH in $(git branch -a | grep remotes | grep -v HEAD); do git branch --track \"${BRANCH#remotes/origin/}\" \"${BRANCH}\"; done"
|
track = "!for BRANCH in $(git branch -a | grep remotes | grep -v HEAD); do git branch --track \"${BRANCH#remotes/origin/}\" \"${BRANCH}\"; done"
|
||||||
untrack = "!for BRANCH in $(git branch | grep -v '*'); do git branch -D \"${BRANCH}\"; done"
|
untrack = "!for BRANCH in $(git branch | grep -v '*'); do git branch -D \"${BRANCH}\"; done"
|
||||||
|
|
Loading…
Add table
Reference in a new issue