Guest User

Untitled

a guest
Feb 8th, 2018
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.87 KB | None | 0 0
  1. git submodule add http://github.com/jscruggs/metric_fu.git vendor/plugins/metric_fu
  2.  
  3. ...
  4. got 1b0313f016d98e556396c91d08127c59722762d0
  5. got 4c42d44a9221209293e5f3eb7e662a1571b09421
  6. got b0d6414e3ca5c2fb4b95b7712c7edbf7d2becac7
  7. error: Unable to find abc07fcf79aebed56497e3894c6c3c06046f913a under http://github.com/jscruggs/metri...
  8. Cannot obtain needed commit abc07fcf79aebed56497e3894c6c3c06046f913a
  9. while processing commit ee576543b3a0820cc966cc10cc41e6ffb3415658.
  10. fatal: Fetch failed.
  11. Clone of 'http://github.com/jscruggs/metric_fu.git' into submodule path 'vendor/plugins/metric_fu'
  12.  
  13. c:project> echo %HTTP_PROXY%
  14. http://proxy.mycompany:80
  15.  
  16. c:project> git config --get http.proxy
  17. http://proxy.mycompany:80
  18.  
  19. git config --global http.proxy http://proxy.mycompany:80
  20.  
  21. Server: myproxyserver
  22. Port: 8080
  23. Username: mydomainmyusername
  24. Password: mypassword
  25.  
  26. git config --global http.proxy http://mydomain\myusername:mypassword@myproxyserver:8080
  27.  
  28. [http]
  29. proxy = http://mydomain\myusername:mypassword@myproxyserver:8080
  30.  
  31. GIT_CURL_VERBOSE=1
  32.  
  33. git config --global http.proxy http://proxy:8081
  34.  
  35. [http]
  36. proxy = http://proxy.mycompany:80
  37.  
  38. $ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git --config "http.proxy=proxyHost:proxyPort"
  39.  
  40. Host github.com
  41. HostName github.com
  42. ProxyCommand /usr/local/bin/corkscrew <your.proxy> <proxy port> %h %p <path/to/authfile>
  43. User git
  44.  
  45. [http]
  46. proxy = http://localhost:3128 # change port as necessary
  47.  
  48. git config --global url."https://github.com/".insteadOf git://github.com/
  49.  
  50. sudo apt-get install socat
  51.  
  52. #!/bin/sh
  53. _proxy=192.168.192.1
  54. _proxyport=3128
  55. exec socat STDIO PROXY:$_proxy:$1:$2,proxyport=$_proxyport
  56.  
  57. chmod a+x gitproxy
  58.  
  59. export PATH=$BIN_PATH:$PATH
  60. git config --global core.gitproxy gitproxy
  61.  
  62. git config --global http.proxy http://user:password@domain:port
  63.  
  64. git config --global http.proxy http://clairton:123456@proxy.clairtonluz.com.br:8080
  65.  
  66. git clone git://github.com/miksago/node-websocket-server.git
  67.  
  68. git clone http://github.com/miksago/node-websocket-server.git
  69.  
  70. ->>> fatal: Unable to find remote helper for 'http' <<<-
  71.  
  72. ./configure --with-curl --with-expat
  73.  
  74. yum install curl-devel
  75. (expat-devel-1.95.8-8.3.el5_5.3.i386 was already installed).
  76.  
  77. export CURLDIR=/usr/include
  78. export EXPATDIR=/usr/include
  79.  
  80. ./configure --with-curl --with-expat
  81.  
  82. git clone http://github.com/miksago/node-websocket-server.git
  83. Cloning into 'node-websocket-server'...
  84. * Couldn't find host github.com in the .netrc file, using defaults
  85. * About to connect() to proxy proxy.entp.attws.com port 8080
  86. * Trying 135.214.40.30... * connected
  87. ...
  88.  
  89. git config --global http.proxy proxy_user:proxy_passwd@proxy_ip:proxy_port
  90.  
  91. proxy = https://your_proxy:your_port
  92.  
  93. proxy = http://your_proxy:your_port
  94.  
  95. git config --add http.proxy http://user:password@proxy_host:proxy_port
  96.  
  97. proxychains git pull ...
  98.  
  99. Microsoft Windows [Version 6.1.7601]
  100. Copyright (c) 2009 Microsoft Corporation. All rights reserved.
  101.  
  102. c:gitmeantest>git clone http://github.com/linnovate/mean.git
  103. Cloning into 'mean'...
  104. fatal: unable to access 'http://github.com/linnovate/mean.git/': Failed connect
  105. to github.com:80; No error
  106.  
  107. c:gitmeantest>git clone https://github.com/linnovate/mean.git
  108. Cloning into 'mean'...
  109. remote: Reusing existing pack: 2587, done.
  110. remote: Counting objects: 27, done.
  111. remote: Compressing objects: 100% (24/24), done.
  112. rRemote: Total 2614 (delta 3), reused 4 (delta 0)eceiving objects: 98% (2562/26
  113.  
  114. Receiving objects: 100% (2614/2614), 1.76 MiB | 305.00 KiB/s, done.
  115. Resolving deltas: 100% (1166/1166), done.
  116. Checking connectivity... done
  117.  
  118. Goto ->
  119. **Windows**
  120. 1. msysgitinstaller-tmpetcgitconfig
  121. Under [http]
  122. proxy = http://user:pass@url:port
  123.  
  124. **Linux**
  125. 1. msysgitinstaller-tmpsetup-msysgit.sh
  126. export HTTP_PROXY="http://USER:PASS@proxy.abc.com:8080"
Add Comment
Please, Sign In to add comment