From 98e0b074c6cf01346054471e7fed36e76c8433ad Mon Sep 17 00:00:00 2001 From: waylau Date: Fri, 26 Dec 2014 20:38:10 +0800 Subject: [PATCH] =?UTF-8?q?compelted=20=20Creating=20and=20deleting=20bran?= =?UTF-8?q?ches=20within=20your=20repository=20=E5=9C=A8=E4=BD=A0=E7=9A=84?= =?UTF-8?q?=E5=BA=93=E4=B8=AD=E5=88=9B=E5=BB=BA=E5=92=8C=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=88=86=E6=94=AF.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...our repository 在你的库中创建和删除分支.md | 28 +++++++++++++++++++ Creating new files 创建新文件.md | 6 ++++ ...les in your repository 修改你库中的文件.md | 6 ++++ ...ub Flow in the Browser 在浏览器中的流程.md | 6 ++++ README.md | 1 + 5 files changed, 47 insertions(+) create mode 100644 Creating new files 创建新文件.md create mode 100644 Editing files in your repository 修改你库中的文件.md create mode 100644 GitHub Flow in the Browser 在浏览器中的流程.md diff --git a/Creating and deleting branches within your repository 在你的库中创建和删除分支.md b/Creating and deleting branches within your repository 在你的库中创建和删除分支.md index fdae6df..ed9529a 100644 --- a/Creating and deleting branches within your repository 在你的库中创建和删除分支.md +++ b/Creating and deleting branches within your repository 在你的库中创建和删除分支.md @@ -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) \ No newline at end of file diff --git a/Creating new files 创建新文件.md b/Creating new files 创建新文件.md new file mode 100644 index 0000000..22f9e72 --- /dev/null +++ b/Creating new files 创建新文件.md @@ -0,0 +1,6 @@ +Creating new files 创建新文件 +=========== + + + +*参考*: \ No newline at end of file diff --git a/Editing files in your repository 修改你库中的文件.md b/Editing files in your repository 修改你库中的文件.md new file mode 100644 index 0000000..290949e --- /dev/null +++ b/Editing files in your repository 修改你库中的文件.md @@ -0,0 +1,6 @@ +Editing files in your repository 修改你库中的文件 +=========== + + + +*参考*: \ No newline at end of file diff --git a/GitHub Flow in the Browser 在浏览器中的流程.md b/GitHub Flow in the Browser 在浏览器中的流程.md new file mode 100644 index 0000000..713527d --- /dev/null +++ b/GitHub Flow in the Browser 在浏览器中的流程.md @@ -0,0 +1,6 @@ +GitHub Flow in the Browser 在浏览器中的流程 +=========== + + + +*参考*: \ No newline at end of file diff --git a/README.md b/README.md index a80500f..e4508e3 100644 --- a/README.md +++ b/README.md @@ -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)