disable git from prompt user credential

See: https://github.com/blog/1957-git-2-3-has-been-released
This commit is contained in:
Hui Yiqun 2016-12-22 17:17:27 +08:00
parent 042ac7242d
commit cf0375b4f9

View File

@ -10,6 +10,8 @@ IGNORED_REPO=(
"weave/tests" # this is a private repo "weave/tests" # this is a private repo
) )
export GIT_TERMINAL_PROMPT=0
function contains() { function contains() {
for e in "${@:2}"; do [[ "$e" == "$1" ]] && return 0; done for e in "${@:2}"; do [[ "$e" == "$1" ]] && return 0; done
return 1 return 1