Article version: Enterprise Server 2.16

Creating and deleting branches within your repository

You can create or delete branches directly on GitHub Enterprise.

Creating a branch

  1. On GitHub Enterprise, navigate to the main page of the repository.

  2. Click the branch selector menu.

    branch selector menu

  3. Type a unique name for your new branch, then select Create branch.

    branch creation text box

Deleting a branch

  1. On GitHub Enterprise, navigate to the main page of the repository.

  2. Above the list of files, click NUMBER branches.

    Branches link on overview page

  3. Scroll to the branch that you want to delete, then click .

    delete the branch

Further reading

Ask a human

Can't find what you're looking for?

Contact us