A command-line flag that displays the version
frank-lenormand opened this issue · comments
frank-lenormand commented
Hi,
It’d be convenient to have something like gitu --version
, to know what version is currently in use.
HTH!
altsem commented
Got this working:
gitu on master [$] ❯ gitu --version
gitu 0.7.2
It'll read out whether it was modified too (if git is available when building):
gitu v0.7.2-modified
and also include the commit hash if ahead of the version tag:
gitu v0.7.2-1-g768c76b