浏览代码

git: use simple for push.default

Kyle P Davis 10 年之前
父节点
当前提交
1dccf4ca70
共有 1 个文件被更改,包括 2 次插入0 次删除
  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"