Skip to content

Branch and Tag Labels For Commit Pages

Have you ever looked at a commit page on GitHub and wondered what branch the commit was in? We did too. If the commit is not on the default branch,…

Author

Have you ever looked at a commit page on GitHub and wondered what branch the
commit was in? We did too.

Screen Shot 2013-03-29 at 2 45 18 AM

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

Once the commit makes it to the default branch, any tags that contain the commit
will be shown, and the default branch will be the only branch listed.

Screen Shot 2013-03-29 at 2 49 20 AM

Enjoy the additional commit context!

Explore more from GitHub

Product

Product

Updates on GitHub products and features, hot off the press.
The ReadME Project

The ReadME Project

Stories and voices from the developer community.
GitHub Copilot

GitHub Copilot

Don't fly solo. Try 30 days for free.
Work at GitHub!

Work at GitHub!

Check out our current job openings.