I want to push and syncronize my code in two different remote repository, to Gitlab and Github at the same command, is it possible?
Yes. Just define two remotes for your working copy:
git remote add lab https://gitlab.com/...
git remote add hub https://github.com/...
Run Code Online (Sandbox Code Playgroud)
Push takes a repository as a parameter:
git push lab master
git push hub master
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
37 次 |
| 最近记录: |