Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 1.13 KB

create-branch-create-branch.md

File metadata and controls

16 lines (12 loc) · 1.13 KB
author ms.author ms.date ms.topic msservice ms.subservice
vijayma
vijayma
10/19/2022
include
azure-devops-repos
azure-devops-repos-git
  1. From the Git menu on the menu bar, choose New Branch to open the Create a new branch window.

    :::image type="content" source="../media/create-branch/visual-studio-2019/git-experience/branches.png" border="true" alt-text="Screenshot of the 'New Branch' option in the Git menu in Visual Studio." lightbox="../media/create-branch/visual-studio-2019/git-experience/branches-lrg.png":::

  2. In the Create a new branch window, enter a descriptive branch name to let others know what work the branch contains. By default, Visual Studio creates your new branch from the current branch. The Checkout branch checkbox automatically switches you to the newly created branch. Select Create.

    :::image type="content" source="../media/create-branch/visual-studio-2019/git-experience/new-local-branch.png" border="true" alt-text="Screenshot of the 'Create a new branch' window in Visual Studio." lightbox="../media/create-branch/visual-studio-2019/git-experience/new-local-branch-lrg.png":::