我知道这个问题已经问过很多次了。我的例子是这样的:我有一个DEV和PROD服务器,它们的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/*发布于 2016-06-10 17:56:02
最后切换到git来解决这个问题。
https://stackoverflow.com/questions/37729619
复制相似问题