运维网's Archiver
论坛
›
git/gitlab
› git同时提交到两个仓库
ifuleyou
发表于 2018-1-12 19:25:55
git同时提交到两个仓库
git pull oschinaxxx master --allow-unrelated-histories解决之。 之后就可以愉快的给远程仓库push了
git push <name of remote repository> <name of branch>,就可以push到相应的仓库了。也可以在pycahrm上直接完成这个。
可以做成一个bat批处理脚本,来运行push
页:
[1]
查看完整版本:
git同时提交到两个仓库