首页 > 其他 > 详细

Git拉取master代码

时间:2021-05-11 17:07:23      阅读:15      评论:0      收藏:0      [点我收藏+]

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 

Git拉取master代码

原文:https://www.cnblogs.com/wangfajun/p/14755154.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!