mirror of https://github.com/wlcx/home.git
git: add more aliases
This commit is contained in:
parent
a1274f54ef
commit
a30452afbc
|
@ -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'';
|
||||
|
|
Loading…
Reference in New Issue