locked
how to create a new branch with github in visual studio 2017? RRS feed

  • Question

  • User1518317647 posted

    Hi All,

    I am new to GitHub. I have some local changes (on my hard drive) that I want to check in on a separate branch, not the master branch.

    How to do that?

    Thanks

    Tuesday, September 25, 2018 9:26 PM

Answers

  • User475983607 posted

    It's pretty simple if you've got GIT setup already.  Just open Team Explorer, Branches, New Branch, and give it a name.

    You can do the same from the lower right hand corner of Visual Studio.  You should see your current branch, probably main.  Just click it and select "New Branch".

    https://channel9.msdn.com/Shows/Visual-Studio-Toolbox/Git-Fundamentals

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 25, 2018 9:32 PM

All replies