Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In github, is it possible to compare between a branch and a tag?

Tags:

github

In github interface, how is it possible (if possible at all) to compare between a branch and a tag?

It is fairly ubiquitous to compare two branches, or compare two tags, but how to compare a tag and a branch?

For example, if there are release tags, and there is a master branch (from which releases are cut), is it possible to check what was pushed to master since the last release?

P.S. My question is about github GUI interface, not git command line interface.

like image 471
Alexander Avatar asked Oct 29 '25 13:10

Alexander


1 Answers

Using the tag name should work: example

https://github.com/octocat/linguist/compare/v4.8.6...master

It does compare between a tag and master.

GitHub GUI


Only I don't see any way to get to this URL in github

  1. Select any release (like the latest one):

release selection
(Click on picture to zoom in)

  1. Click on "Compare" (button in the top-right corner), and select any other tag

tag selection
(Click on picture to zoom in)

  1. Adjust both "base" and "compare"

adjust
(Click on picture to zoom in)

like image 122
VonC Avatar answered Oct 31 '25 08:10

VonC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!