Add git alias : git force

This commit is contained in:
Yax 2024-05-21 07:45:15 +02:00
parent 2944a7a99f
commit 900615b7dc

View file

@ -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"