| 1 | git-version(1) |
| 2 | ============== |
| 3 | |
| 4 | NAME |
| 5 | ---- |
| 6 | git-version - Display version information about Git |
| 7 | |
| 8 | SYNOPSIS |
| 9 | -------- |
| 10 | [verse] |
| 11 | 'git version' [--build-options] |
| 12 | |
| 13 | DESCRIPTION |
| 14 | ----------- |
| 15 | With no options given, the version of 'git' is printed on the standard output. |
| 16 | |
| 17 | Note that `git --version` is identical to `git version` because the |
| 18 | former is internally converted into the latter. |
| 19 | |
| 20 | OPTIONS |
| 21 | ------- |
| 22 | --build-options:: |
| 23 | Include additional information about how git was built for diagnostic |
| 24 | purposes. |
| 25 | + |
| 26 | The libraries used to implement the SHA-1 and SHA-256 algorithms are displayed |
| 27 | in the form `SHA-1: <option>` and `SHA-256: <option>`. Note that the SHA-1 |
| 28 | options `SHA1_APPLE`, `SHA1_OPENSSL`, and `SHA1_BLK` do not use a collision |
| 29 | detection algorithm and thus may be vulnerable to known SHA-1 collision |
| 30 | attacks. When a faster SHA-1 implementation without collision detection is used |
| 31 | for only non-cryptographic purposes, the algorithm is displayed in the form |
| 32 | `non-collision-detecting-SHA-1: <option>`. |
| 33 | |
| 34 | GIT |
| 35 | --- |
| 36 | Part of the linkgit:git[1] suite |