From 1427a22db41d2e008c524ac60428e5e1833cf962 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Fri, 28 Feb 2020 12:20:40 +1100 Subject: [PATCH] Make 'git up' prune branches that have been deleted from the remote --- config/git/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/git/config b/config/git/config index d7b9b61..a0bbf7c 100644 --- a/config/git/config +++ b/config/git/config @@ -8,7 +8,7 @@ co = checkout d = diff l = log --graph --pretty=graph --date=relative - up = pull --rebase=preserve --autostash + up = pull --prune --rebase=preserve --autostash patch = !git --no-pager diff --no-color st = status --short shove = "!f() { git push ${1:-origin} :; }; f"