Add pushf git alias

This commit is contained in:
Gabriel Augendre 2023-02-17 09:25:11 +01:00
parent f5b5f67c89
commit 03904b6709

View file

@ -38,6 +38,7 @@
praise = blame praise = blame
pushbranch = ! "git push -o merge_request.create -u origin $(git rev-parse --abbrev-ref HEAD)" pushbranch = ! "git push -o merge_request.create -u origin $(git rev-parse --abbrev-ref HEAD)"
pushu = pushbranch 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