b184fc490a
Sometimes users would get confused because an option they were looking for was not mentioned on a subcommand's man page, and they had not noticed that the main git-annex man page had a list of common options. This change lets each subcommand mention the common options, similarly to how the matching options are handled. This commit was sponsored by Svenne Krap on Patreon.
38 lines
909 B
Markdown
38 lines
909 B
Markdown
# NAME
|
|
|
|
git-annex version - show version info
|
|
|
|
# SYNOPSIS
|
|
|
|
git annex version
|
|
|
|
# DESCRIPTION
|
|
|
|
Shows the version of git-annex, as well as repository version information.
|
|
|
|
git-annex's version is in the form MAJOR.DATE, where MAJOR is a number
|
|
like 5, which corresponds to the current repository version, and DATE
|
|
is the date of the last release, like 20150320.
|
|
|
|
Daily builds of git-annex will append a "-gREF" to the version, which
|
|
corresponds to the git ref from git-annex's source repository that was
|
|
built. Therefore, "5.20150320-gdd35cf3" is a daily build, and
|
|
"5.20150401" is an April 1st release made a bit later.
|
|
|
|
# OPTIONS
|
|
|
|
* `--raw`
|
|
|
|
Causes only git-annex's version to be output, and nothing else.
|
|
|
|
* Also the [[git-annex-common-options]](1) can be used.
|
|
|
|
# SEE ALSO
|
|
|
|
[[git-annex]](1)
|
|
|
|
# AUTHOR
|
|
|
|
Joey Hess <id@joeyh.name>
|
|
|
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|