Pārlūkot izejas kodu

git: use simple for push.default

Kyle P Davis 10 gadi atpakaļ
vecāks
revīzija
1dccf4ca70
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      gimmes/git

+ 2 - 0
gimmes/git

@@ -5,6 +5,8 @@ has git  ||  gimme_pkg git
 
 [[ "$(git config --global --get color.ui)" ]]  ||  git config --global color.ui true
 
+[[ "$(git config --global --get push.default)" ]]  ||  git config --global push.default simple
+
 if ! [[ "$(git config --global --get credential.helper)" ]]; then
 	if [[ "$OS" = "Darwin" ]]; then
 		git config --global credential.helper "osxkeychain"