From 61d5759407f8d02eecf2a224e493d8f741a0c51d Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Fri, 18 Sep 2020 11:32:05 +0530 Subject: [PATCH] git: Set fetch.prune globally Automatically delete remote tracking local branches that have been removed from remote. This makes pruning references part of our normal work flow. Signed-off-by: Sanchayan Maity --- git/.gitconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git/.gitconfig b/git/.gitconfig index 9154a04..3054947 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -12,6 +12,8 @@ smtpserver = /usr/bin/msmtp [http] sslVerify = false +[fetch] + prune = true [merge] tool = vimdiff conflictstyle = diff3