diff options
author | Haralan Dobrev <hkdobrev@gmail.com> | 2014-06-14 14:16:10 +0300 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2014-06-14 13:32:19 +0200 |
commit | 1f8d15030ca67ad206a641d5785fceaeac422441 (patch) | |
tree | cb1a3dd3959448faacb0b3b90adfe9a5819b9f19 /.gitconfig | |
parent | f44b1c50f696d019ad4be5d3f3cf81d4964e9bb1 (diff) | |
download | dotfiles-1f8d15030ca67ad206a641d5785fceaeac422441.tar.gz dotfiles-1f8d15030ca67ad206a641d5785fceaeac422441.tar.bz2 dotfiles-1f8d15030ca67ad206a641d5785fceaeac422441.zip |
.gitconfig: Add default Git `push.default` config
Use the backwards-compatible `matching` setting by default. On machines with newer Git installations, it avoids the annoying Git warning, and it can be overriden to use `simple` instead in `~/.extra`.
Closes #400.
Diffstat (limited to '.gitconfig')
-rw-r--r-- | .gitconfig | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -117,6 +117,13 @@ # Include summaries of merged commits in newly created merge commit messages log = true +[push] + + # Use the Git 1.x.x default to avoid errors on machines with old Git + # installations. To use `simple` instead, add this to your `~/.extra` file: + # `git config --global push.default simple`. See http://git.io/mMah-w. + default = matching + # URL shorthands [url "git@github.com:"] |