|
@@ -36,5 +36,7 @@
|
|
|
ca = commit --amend
|
|
|
smash = "!git add -u && git ca --no-edit && git pof"
|
|
|
reset-head = remote set-head origin -a
|
|
|
+ ff-head = "!git push . origin/HEAD:$(git head)"
|
|
|
head = for-each-ref --format="%(symref:lstrip=-1)" refs/remotes/origin/HEAD
|
|
|
sh = "!git switch $(git head)"
|
|
|
+ prune-local = "!git branch --merged origin/HEAD | grep -v $(git head) | xargs git branch -d"
|