compelted Creating and deleting branches within your repository 在你的库中创建和删除分支.md

pull/7/head
waylau 11 years ago
parent 5bf6ac4ec5
commit 98e0b074c6

@ -1,4 +1,32 @@
Creating and deleting branches within your repository 在你的库中创建和删除分支
===========
分支管理是 Git 工作流中重要的一部分。你可以直接在 Github 上管理分支。
##Creating a branch 创建分支
在库的选择菜单中创建分支。只需要输入不重名的名字即可。
![](https://help.github.com/assets/images/help/branch/branch-selection-dropdown.png)
##Deleting a branch 删除分支
同样的,如果你去库的分支页面,你可以删除一个分支,只要你有适当的访问权限,并且没有对它进行 pull request
[](https://help.github.com/assets/images/help/branches/branches-overview.png)
##How is this useful? 怎么用
我们建议在您的计算机上创建分支。这使得它更容易跟踪变化和与其他人合作。
在线的分支管理是在简单的情况下有用,如修复错别字或进行头脑风暴。在这里看看它是如何工作的:
1. 在你的库中创建一个新的分支
2. [创建](Creating new files 创建新文件.md)或[编辑](Editing files in your repository 修改你库中的文件.md)一个文件在你的库
3. 创建 [pull request](Creating a pull request 创建 pull 请求.md) 使其他人可以审查你的分支的变化。
更详细的方法,查看 [GitHub 在浏览器的流程](GitHub Flow in the Browser 在浏览器中的流程.md)。
参考:[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,6 @@
Creating new files 创建新文件
===========
*参考*<https://help.github.com/articles/creating-new-files/>

@ -0,0 +1,6 @@
Editing files in your repository 修改你库中的文件
===========
*参考*<https://help.github.com/articles/editing-files-in-your-repository/>

@ -0,0 +1,6 @@
GitHub Flow in the Browser 在浏览器中的流程
===========
*参考*<https://help.github.com/articles/github-flow-in-the-browser/>

@ -47,6 +47,7 @@ Chinese translation of the Github Help(https://help.github.com/index.html) and t
* [Deleting a repository 删除库](Deleting a repository 删除库.md)
* [What is my disk quota 我的磁盘配额是什么](https://github.com/waylau/github-help/blob/master/What%20is%20my%20disk%20quota%20%E6%88%91%E7%9A%84%E7%A3%81%E7%9B%98%E9%85%8D%E9%A2%9D%E6%98%AF%E4%BB%80%E4%B9%88.md)
* [HTTPS cloning errors 用 HTTPS 克隆常见的错误](https://github.com/waylau/github-help/blob/master/HTTPS%20cloning%20errors%20%E7%94%A8%20HTTPS%20%E5%85%8B%E9%9A%86%E5%B8%B8%E8%A7%81%E7%9A%84%E9%94%99%E8%AF%AF.md)
* [Creating and deleting branches within your repository 在你的库中创建和删除分支](Creating and deleting branches within your repository 在你的库中创建和删除分支.md)
* [What are the limits for viewing content and diffs in my repository 在版本库浏览内容和文件比较的限制是什么](https://github.com/waylau/github-help/blob/master/What%20are%20the%20limits%20for%20viewing%20content%20and%20diffs%20in%20my%20repository%20%E5%9C%A8%E7%89%88%E6%9C%AC%E5%BA%93%E6%B5%8F%E8%A7%88%E5%86%85%E5%AE%B9%E5%92%8C%E6%96%87%E4%BB%B6%E6%AF%94%E8%BE%83f%E7%9A%84%E9%99%90%E5%88%B6%E6%98%AF%E4%BB%80%E4%B9%88.md)
* [Error:Repository not found 错误 库没有找到](https://github.com/waylau/github-help/blob/master/Error%20Repository%20not%20found%20%E9%94%99%E8%AF%AF%20%E5%BA%93%E6%B2%A1%E6%9C%89%E6%89%BE%E5%88%B0.md)

Loading…
Cancel
Save