fastune
fastune
CC#
Created by fastune on 3/8/2023 in #help
❔ How to get the latest git tag version BUT from a specific commit?
Lmao I decided to give ChatGPT a shot and it gave me the answer after a bit of chit chatting. The answer was simple and yet Google repeatedly failed to show me a SINGLE post showing it. This was the answer "git describe --tags --abbrev=0 <commit ID>^"
4 replies
CC#
Created by fastune on 3/8/2023 in #help
❔ How to get the latest git tag version BUT from a specific commit?
To give an example. I want to get the latest git tag version relative to the commit I selected(blue highlight). I want it to return v0.0.9 and not 0.0.13
4 replies