Город МОСКОВСКИЙ
00:03:08

How to use git/github with a proxy server

Аватар
Практический Гид по Vue на Русском
Просмотры:
70
Дата загрузки:
28.11.2023 16:46
Длительность:
00:03:08
Категория:
Разное

Описание

COMMANDS

git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080

git config --global https.proxy https://proxyuser:proxypwd@proxy.server.com:8080

change proxyuser to your proxy user
change proxypwd to your proxy password
change proxy.server.com to the URL of your proxy server
change 8080 to the proxy port configured on your proxy server

If you decide at any time to reset this proxy and work without (no proxy):

Commands to use:

git config --global --unset http.proxy
git config --global --unset https.proxy

Finally, to check the currently set proxy;

git config --global --get http.proxy
git config --global --get https.proxy

Рекомендуемые видео