Git 如何从自己的仓库提到另外一个仓库
資深大佬 : monetto 6
项目名字叫 app 首先我在我自己的仓库中建立了一个新的 Repository [email protected]:my/app.git
然后我们公司的代码是 [email protected]:company/app.git
我在我们公司的代码上新建了一个分支 my_branch
然后使用这个命令 git remote add myrep [email protected]:my/app.git git push -u myrep
然后现在我想要提交我的 PR 我在我公司的 Web 端没看到提 PR 的选项… 只能从 [email protected]:my/app.git 提交到它本身,刷不出来 [email protected]:company/app.git
现在我想问一下怎么才能从我自己的仓库 [email protected]:my/app.git 提交到公司的仓库 [email protected]:company/app.git
是需要 git remote 添加什么吗
大佬有話說 (9)