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?
git log v2.12-20-g22290d9
将显示从该标签开始的日志。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.