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 

posted @ 2021-05-11 14:27  君哥~  阅读(1127)  评论(0编辑  收藏  举报