ivan_pozdeev
ivan_pozdeev

Reputation: 36026

Find the first release(s) (=tags) the commit has gone into

Once I've located some specific commit in a git repo (e.g. one that fixed some bug or introduced some feature), I'm naturally interested which releases I can find it in.

Things I considered:

Showing how to also do it in GitHub and/or TortoiseGit UI, if possible, would be a plus (comment if you feel this warrants a separate question).

Upvotes: 0

Views: 49

Answers (1)

MrTux
MrTux

Reputation: 34003

On git CLI do git tag --contains <sha1>

Go to TortoiseGit log. Right click on the on the commit and select "Show branches this commit is on" (requires TortoiseGit > 2.3 in order to see tags, enter "tags" to filter in order to only see tags).

Upvotes: 2

Related Questions