mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-06-15 11:11:57 +02:00
Add git alias : git force
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user