Git拉取master代碼


1.創建文件目錄

2. git init

3.修改.git目錄下的config文件:

[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = false
[remote "origin"]
url = git@codeup.aliyun.com:5fa66f155dbd2870061436cc/option.git
fetch = +refs/heads/*:refs/remotes/origin/*
pushurl = git@codeup.aliyun.com:5fa66f155dbd2870061436cc/option.git
[branch "master"]
remote = origin
merge = refs/heads/master

換掉:url 、pushurl 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM