Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use branches in GitHub for Windows

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?

like image 734
andypaxo Avatar asked Jun 13 '12 18:06

andypaxo


People also ask

How do branches work in GitHub desktop?

Typically, you might create a branch from the default branch of your repository. You can then work on this new branch in isolation from changes that other people are making to the repository. You can also create a branch starting from a previous commit in a branch's history.


1 Answers

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:

enter image description here

like image 101
andypaxo Avatar answered Sep 28 '22 01:09

andypaxo