completed Creating a pull request 创建 pull 请求

pull/7/head
waylau 11 years ago
parent 5e3f08f75f
commit 3d61eb8134

@ -0,0 +1,4 @@
Comparing commits across time 在交叉时间合并提交
===========
参考:<https://help.github.com/articles/comparing-commits-across-time/#comparing-branches>

@ -1,6 +1,37 @@
Creating a pull request 创建 pull 请求
===========
创建一个 pull 请求是为了协作更改存储库。这些变化会产生一个分支,它确保主分支保持干净整洁。
在你可以打开一个 pull 请求之前,您必须[创建一个分支](Creating and deleting branches within your repository 在你的库中创建和删除分支.md),然后添加提交到分支。Pull 请求只能在你的分支和上游分支之间有区别时打开。
1.切换到你要改变的库
2.在“Branch”菜单选择包含你的提交的分支。
![](https://help.github.com/assets/images/help/pull_requests/branch-dropdown.png)
3.“Branch”菜单右侧点击 Compare and Review
![](https://help.github.com/assets/images/help/pull_requests/pull-request-start-review-button.png)
4.对比页面,将会自动选择 [基本和对比分支](Comparing commits across time 在交叉时间合并提交)。要改变,点击 Edit
![](https://help.github.com/assets/images/help/pull_requests/edit-compare-branches.png)
5.在对比页面,点击 Create pull request
![](https://help.github.com/assets/images/help/pull_requests/pull-request-click-to-create.png)
6.在你的 pull 请求中,输入 标题和描述
![](https://help.github.com/assets/images/help/pull_requests/pullrequest-description.png)
7.点击 Create pull request
![](https://help.github.com/assets/images/help/pull_requests/pullrequest-send.png)
当你 pull 请求已被审查,可以[合并到库](Merging a pull request 合并一个 pull 请求.md)。
*参考*[https://help.github.com/articles/creating-a-pull-request/](https://help.github.com/articles/creating-a-pull-request/)

@ -0,0 +1,4 @@
Creating and deleting branches within your repository 在你的库中创建和删除分支
===========
参考:[https://help.github.com/articles/creating-and-deleting-branches-within-your-repository/#creating-a-branch](https://help.github.com/articles/creating-and-deleting-branches-within-your-repository/#creating-a-branch)

@ -0,0 +1,4 @@
Merging a pull request 合并一个 pull 请求
===========
参考:<https://help.github.com/articles/merging-a-pull-request/>
Loading…
Cancel
Save