--name-only::
Instead of printing both the SHA-1 and the name, print only
the name. If given with --tags the usual tag prefix of
- "tags/" is also ommitted from the name, matching the output
- of gitlink::git-describe[1] more closely. This option
+ "tags/" is also omitted from the name, matching the output
+ of linkgit:git-describe[1] more closely. This option
cannot be combined with --stdin.
+--no-undefined::
+ Die with error code != 0 when a reference is undefined,
+ instead of printing `undefined`.
+
+--always::
+ Show uniquely abbreviated commit object as fallback.
+
EXAMPLE
-------
GIT
---
-Part of the gitlink:git[7] suite
+Part of the linkgit:git[1] suite