如何在GitHub for Windows中使用分支 [英] How to use branches in GitHub for Windows

查看:179
本文介绍了如何在GitHub for Windows中使用分支的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始使用GitHub for Windows,我无法弄清楚如何看到其他分支(或创建其他分支)。

帮助页面提及此功能,甚至显示屏幕截图,但并未详细说明如何操作。



我知道如何从命令行创建和签出分支,但我想从UI内部完成。



有人知道如何做到这一点吗?

发现它!当你意识到在哪里看,它确实很容易。您的分支名称显示在sync或push to github按钮旁边。点击这个显示所有现有的分支,以及一个文本框来创建一个新的分支:




I've just started using "GitHub for Windows", and I can't figure out how to see other branches (or create other branches).

The help page mentions this feature, and even shows a screenshot, but does not detail how to get to it.

I am aware of how to create and checkout branches from the command line, but I would like to do this from within the UI.

Does anyone know how to do this?

解决方案

Found it! It's actually very easy when you realise where to look. The name of your branch is shown next to the "sync" or "push to github" button. Clicking on this shows all the existing branches, as well as a text box to create a new one:

这篇关于如何在GitHub for Windows中使用分支的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆