Access the GIT service through HTTP Proxy

Source: Internet
Author: User

I wanted to clone a project on Google Code and look at the source code, but unfortunately Google Code has been blocked over the past few days. It is really speechless to do something open-source.
In desperation, you can only perform git clone through the proxy, and briefly describe the operation steps, hoping to be useful to others.
(1) create a directory weed-FS
(2) Go to weed-Fs and run git Init (3) git config HTTP. Proxy http: // 127.0.0.1: 8087
Replace http: // 127.0.0.1: 8087 with the actual proxy address. Select HTTP. proxy or HTTPS. Proxy Based on the proxy mode.
(4) git add remote origin https://code.google.com/p/weed-fs
Set remote address
(5) git pull Origin
Obtain remote content

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.