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,…
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, 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.
Enjoy the additional commit context!
Written by
Related posts
![](https://github.blog/wp-content/uploads/2024/03/Enterprise-LightMode-1-1.png?resize=400%2C212)
GitHub Availability Report: January 2025
In January, we experienced two incidents that resulted in degraded performance across GitHub services.
![GitHub Copilot agent mode](https://github.blog/wp-content/uploads/2025/02/Agent-Sunrise-1.png?resize=400%2C212)
GitHub Copilot: The agent awakens
Introducing agent mode for GitHub Copilot in VS Code, announcing the general availability of Copilot Edits, and providing a first look at our SWE agent.
![](https://github.blog/wp-content/uploads/2025/01/innovation_graph_1.png?resize=400%2C212)
That’s a wrap: GitHub Innovation Graph in 2024
Discover the latest trends and insights on public software development activity on GitHub with the release of Q2 & Q3 2024 data for the Innovation Graph.