我知道这个问题已被多次询问过。我的情况是这样的:我有一个DEV和PROD Windows服务器,他们将相同版本的git 1.9.5安装到同一个位置。
Building remotely on public_jendevslave_1 in workspace D:\public_jendevslave_1\workspace\DevOps\Test-GitHub
> D:\Git\bin\git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> D:\Git\bin\git.exe config remote.origin.url http://github.opp.com/DevOps/Sample.git # timeout=10
Fetching upstream changes from http://github.opp.com/DevOps/Sample.git
> D:\Git\bin\git.exe --version # timeout=10
using .gitcredentials to set credentials
> D:\Git\bin\git.exe config --local credential.username svc_appbuilder_dev # timeout=10
> D:\Git\bin\git.exe config --local credential.helper store --file=\"C:\Users\SVC_SE~2\AppData\Local\Temp\git9162421949136116258.credentials\" # timeout=10
> D:\Git\bin\git.exe -c core.askpass=true fetch --tags --progress http://github.opp.com/DevOps/Sample.git +refs/heads/*:refs/remotes/origin/*
答案 0 :(得分:0)
最终切换到git ssh来解决此问题。