【发布时间】:2014-02-16 16:27:33
【问题描述】:
给定 repo Foo 和 repo Bar。我想将 Bar 与 Foo 合并,但 只合并到一个单独的分支中,称为 baz。
git switch -c baz
【问题讨论】:
-
如果你安装了自制的
hub命令,你可以使用hub merge <github-pr-url-from-the-browser-omg>。但它失败了,直到你事先做git remote add upstream <the repo url>.git。我不知道远程名称是否需要在上游。
标签: git