Git/源:修订间差异
来自康健生活
| (未显示同一用户的2个中间版本) | |||
| 第9行: | 第9行: | ||
# 添加第二个远程<coding.net>仓库<wiki.git> 别名:coding-repo | # 添加第二个远程<coding.net>仓库<wiki.git> 别名:coding-repo | ||
git remote add coding-repo <coding-repo-url> | git remote add coding-repo <coding-repo-url> | ||
</syntaxhighlight>|$|/ | </syntaxhighlight>|bash|$}} | ||
测试 | |||
{{shc|<syntaxhighlight lang="bash"> | |||
git remote -v</syntaxhighlight>|bash|$}} | |||
提交代码: | |||
{{shc|<syntaxhighlight lang="bash"> | |||
git push github-repo master:feature/v0.0.1 && \\ | |||
git push coding-repo master:feature/v0.0.1 | |||
</syntaxhighlight>|bash|$}} | |||