1
mirror of https://github.com/wlcx/home.git synced 2026-07-08 13:33:13 +01:00

git: unpushed alias

This commit is contained in:
Sam W 2026-07-02 11:06:57 +01:00
parent edcb288716
commit a6a4f5660b

View File

@ -41,6 +41,7 @@
st = "status"; st = "status";
sw = "switch"; sw = "switch";
swc = "switch --create"; swc = "switch --create";
unp = "log --branches --not --remotes --no-walk --decorate --oneline";
gone = ''! git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' awk '$2 == "[gone]" {print $1}' | xargs -r git branch -D''; gone = ''! git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' awk '$2 == "[gone]" {print $1}' | xargs -r git branch -D'';
}; };