SORU
23 NİSAN 2009, PERŞEMBE


Elde proxy sunucusu ile çalışmak için git

Nasıl bir proxy sunucu kullanacak gıt alabilirim?

Git bir sunucudan kodu kontrol etmek istiyorum, "" her zaman. zaman aşımına uğradı İstek gösterir Bu nasıl bir çözüm bulabilirim?

Alternatif olarak, bir proxy sunucu ayarlayabilirim?

CEVAP
6 EKİM 2013, Pazar


Komutu kullanmak için :

git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
git config --global https.proxy https://proxyuser:proxypwd@proxy.server.com:8080
  • proxy kullanıcı için proxyuser değiştirin
  • proxy şifreniz proxypwd değiştirin
  • proxy sunucu URL için proxy.server.com değiştirin
  • proxy port proxy sunucusu üzerinde yapılandırılmış 8080 değiştirin

Eğer (proxy yok) olmadan bu proxy sıfırlama ve çalışmak için herhangi bir zamanda karar verirseniz:

Komutları kullanmak için:

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

Son olarak, şu anda set proxy kontrol etmek için;

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

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Exalto_Gamer

    Exalto_Gamer

    15 EKİM 2014
  • K-391

    K-391

    23 EKİM 2012
  • RickardRick

    RickardRick

    9 Mart 2007