From ccdb81f9b50827664fc1cb1630e600c3ac35b13a Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Thu, 23 Sep 2021 13:12:43 +0530 Subject: [PATCH] git: Set push.default Do not push anything (error out) unless a refspec is given. We want to avoid mistakes by always being explicit. See https://git-scm.com/docs/git-config#Documentation/git-config.txt-pushdefault --- git/.gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/git/.gitconfig b/git/.gitconfig index 4dfbcec..7426c96 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -36,6 +36,7 @@ rebase = false [push] followTags = true + default = nothing [interactive] diffFilter = delta --color-only [delta]