Can I git checkout from GitHub Desktop?

tandav picture tandav · Nov 4, 2016 · Viewed 7.8k times · Source

Is there a way to rewrite repository directory files to current brunch state in GitHub Desktop?

Or I can only do it from command line with git checkout mybranch

and GitHub Desktop keeps all files of all branches in directory?

Answer

t_huang picture t_huang · Jul 7, 2017

To do git checkout mybranch on Github Desktop, you simply click on the dropdown menu on the upper left hand corner of the client, and pick the branch you want to switch to. It manages files exactly like git does, so all files are stored in their respective branches.