38 找到对应分支并测试
接下来,手动合并你想测试的提交请求,并且记录下源和仓库的信息。它会是这个样子:
Someuser wants to merge 1 commit into ansible:devel from someuser:feature_branch_nameNote
请务必将提交合并请求提交到ansible:devel分支,我们不会接受您提交到其他分支。版本的更新将由我们的工作人员手动进行。
用户名和分支名是十分重要的,这将显示在以下命令行中:
git checkout -b testing_PRXXXX devel
git pull https://github.com/someuser/ansible.git feature_branch_name第一行命令表示在devel分支上新建一个新分支名叫testing_PRXXXX,而XXXX是实际合并请求申请的ID号(例如,1234),并切换到该分支下。第二行命令则表示拉取对应用户的对应分支的代码。
Note
If the GitHub user interface shows that the pull request will not merge cleanly, we do not recommend proceeding if you are not somewhat familiar with git and coding, as you will have to resolve a merge conflict. This is the responsibility of the original pull request contributor.
Note
Some users do not create feature branches, which can cause problems when they have multiple, un-related commits in their version of devel. If the source looks like someuser:devel, make sure there is only one commit listed on the pull request.
学员评价