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