标签: git github pull-request git-checkout
要评估对项目回购的拉取请求,似乎需要这样做:
git remote add newcontributor https://github.com/newcontributor/ourproject git fetch newcontributor git checkout newcontributor/pr-branch ... git remote rm newcontributor
有更简单的方法吗?
答案 0 :(得分:0)
啊,Github让这很容易。在Pull Request页面的底部,有一个链接:
这提供了使用git pull从URL合并的命令:
git pull
git checkout -b newcontributor-prbranch master git pull https://github.com/newcontributor/ourproject.git pr-branch