This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2020-05-23. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Article version: Enterprise Server 2.17

Creating a label

In repositories where you have write access, you can create labels to organize issues and pull requests.

Tip: You can also create a label in the Labels drop-down menu within an issue or pull request.

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

  2. Under your repository name, click Issues or Pull requests.

    Issues and pull requests tab selection

  3. Above the list of issues or pull requests, click Labels.

    Labels tab on a repository's issues or pull requests page

  4. To the right of the search field, click New label.

  5. Under "Label name", type a name for your label.

    Field to type a label name

  6. Under "Description", type a description to help others understand and use your label.

    Field to type a label description

  7. Optionally, to customize the color of your label, edit the hexadecimal number, or click the refresh button for another random selection.

    Issues new label color refresh

  8. To save the new label, click Create label.

Further reading

Ask a human

Can't find what you're looking for?

Contact us