git config to find the downloaded path URL

Source: Internet
Author: User

Sometimes want to download their own uploaded source code on other machines, found that git is not as easy as SVN can see, these two days on the internet, and finally found a way.

There will always be a. Git directory under the usual local GitHub directory, click to enter, and see the file structure as shown:

Where config is the file we're looking for, open it, and see something like this, where the URL is what we're looking for.

[Core]
repositoryformatversion = 0
FileMode = False
Bare = False
Logallrefupdates = True
Symlinks = False
IgnoreCase = True
Hidedotfiles = dotgitonly
[remote "origin"]
URL = https://git.oschina.net/luhouxiang/JavaStudy.git
Puttykeyfile = C:\\USERS\\LUHX\\.SSH\\JAVASTUDY.PPK
Pushurl = Https://git.oschina.net/luhouxiang/JavaStudy.git
Fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
Remote = origin
Merge = Refs/heads/master
[GUI]
Wmstate = Normal
Geometry = 799x475+75+75 380 214

git config to find the downloaded path URL

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.