Branch and Tag Labels For Commit Pages
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,…
			
	

				
	
	
			April 1, 2013		

					|
			
				Updated January 4, 2019			
					

				
	
		
			Share:		
	
	
		
			
				
			
		
	
	
		
			
				
			
		
	
	
		
			
				
			
		
	

			
	
	
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	
	
	
	
		
				
			
				Celebrating the GitHub Awards 2024 recipients 🎉			
		
		The GitHub Awards celebrates the outstanding contributions and achievements in the developer community by honoring individuals, projects, and organizations for creating an outsized positive impact on the community.
		
	


	


	





				 We do newsletters, too
				Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.
			
