查看仓库中的分支
分支是 GitHub Enterprise 上协作的中心,查看分支的最佳途径是分支页面。
-
在 GitHub Enterprise 上,导航到仓库的主页面。
-
在文件列表的上方,单击 NUMBER 分支。
-
使用页面顶部的导航可查看特定的分支列表:
- Your branches: In repositories that you have push access to, the Yours view shows all branches that you’ve pushed to, with the most recent branches first.
- Active branches: The Active view shows all branches that anyone has committed to within the last three months, ordered by the branches with the most recent commits first.
- Stale branches: The Stale view shows all branches that no one has committed to in the last three months, ordered by the branches with the oldest commits first. 使用此列表可确定要删除的分支。
- All branches: The All view shows the default branch, followed by all other branches ordered by the branches with the most recent commits first.
延伸阅读
- “在仓库内创建和删除分支”
- "删除未使用的分支"