本文介绍了我可以拉一个尚未合并的拉请求吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
例如:
git fetch origin pull / 1731 / head:shelhamer-cudnn-r2
git checkout shelhamer-cudnn-r2
,经过测试后,回到 master
。
Example: https://github.com/BVLC/caffe/pull/1731
Sometimes I need to pull this kind of pull requests because I open an issue, and someone else provides a fix. Then the project collaborator may ask me to verify whether the fix works before his merging. So how to pull these pull requests instead of manually doing changes to my local repository?
解决方案
You can fetch pull requests
git fetch origin pull/1731/head:shelhamer-cudnn-r2
git checkout shelhamer-cudnn-r2
and after testing, go back to master
.
这篇关于我可以拉一个尚未合并的拉请求吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!