Commit branch and tag labels

You can easily see what branch a commit is in by looking at the labels beneath the commit on the commit page.

If your commit is not on the default branch, an indicator will show the branches which contain the commit. If the commit is part of an unmerged pull request, it will show a link.

Commit branch label

Once the commit is on the default branch, any tags that contain the commit will be shown and the default branch will be the only branch listed.


Further reading

Did this doc help you?

Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.