diff --git a/home/git.nix b/home/git.nix index 5534044..b0c7ec8 100644 --- a/home/git.nix +++ b/home/git.nix @@ -41,6 +41,7 @@ st = "status"; sw = "switch"; 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''; };