dan-lee
dan-lee

Reputation: 14492

How to get the log with the output of git describe

I want to use the output of git describe in my program so if a problem occurs, I can easily track down in what revision this happened.

The output is similar to: v2.12-20-g22290d9

I know I can checkout it easily, but how can I track the log with git log or a similar tool?

Upvotes: 0

Views: 362

Answers (1)

chwarr
chwarr

Reputation: 7202

git log v2.12-20-g22290d9 will show the log starting at that tag.

Upvotes: 1

Related Questions