用于代理问题的git配置

问题描述 投票:0回答:1

所以我正在尝试将Visual Studio 2017与Azure DevOps连接起来。我需要设置代理,以便在运行命令时git config --global HTTP.proxy HTTP://WindowsLogin:[email protected]:8080并设置我的密码和Windows登录名到我的密码和用户名,这给了我一个错误[1] 2656 bash: @10.43.0.29:8080: command not found。这是什么错误?顺便说一下,我的队友在同一个代理服务器上,一切都很好。

git azure-devops git-bash git-config
1个回答
0
投票

尝试对参数进行排队:

git config --global http.proxy 'http://WindowsLogin:[email protected]:8080'
© www.soinside.com 2019 - 2024. All rights reserved.