git: add more aliases

This commit is contained in:
2022-06-14 02:16:03 +01:00
parent a1274f54ef
commit a30452afbc
+2
View File
@@ -29,6 +29,8 @@
rai = "rebase --autostash --interactive";
rs = "restore --staged";
st = "status";
sw = "switch";
swc = "switch --create";
gone = ''
! git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' │ awk '$2 == "[gone]" {print $1}' | xargs -r git branch -D'';