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
This commit is contained in:
Sanchayan Maity 2021-09-23 13:12:43 +05:30
parent 643e1be349
commit ccdb81f9b5
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@
rebase = false rebase = false
[push] [push]
followTags = true followTags = true
default = nothing
[interactive] [interactive]
diffFilter = delta --color-only diffFilter = delta --color-only
[delta] [delta]