Loading

GIT 子仓库与父仓库代码同步

1.在项目添加remote 设置

git remote add init https://xxx.git

2.fetch remote 分支信息

git fetch init

3. pull

git pull --tags init master

4.push

git push origin master:master

 

posted @ 2020-09-10 10:46  microestc  阅读(758)  评论(0)    收藏  举报