通过命令行将代理添加到git config,而不使用proxy user/proxy pwd

通过命令行将代理添加到git config,而不使用proxy user/proxy pwd,git,Git,我在我的/git/.gitconfig [http "https://dpl.tdk.com"] proxy = http://10.0.11.25:8080 但是当我执行git config--list时,不知何故没有出现 我想手动添加它,但我不知道怎么做,因为我没有一个: git config --global http.proxy http://<username>:<password>@10.0.14.15:8080 git config--全局htt

我在我的
/git/.gitconfig

[http "https://dpl.tdk.com"]
    proxy = http://10.0.11.25:8080
但是当我执行
git config--list时,不知何故没有出现

我想手动添加它,但我不知道怎么做,因为我没有一个

git config --global http.proxy http://<username>:<password>@10.0.14.15:8080
git config--全局http.proxy http://:@10.0.14.15:8080
你很接近了:

git config --global http."https://dpl.tdk.com".proxy http://<username>:<password>@10.0.14.15:8080
git config——全局http。“https://dpl.tdk.com“.proxy http://:@10.0.14.15:8080
对于
请询问您的网络管理员。

git-config--global-http.proxy

您的意思是“在我的
.git/config
文件中”?