Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Eli F-F
CMake
Commits
f71e7b81
Commit
f71e7b81
authored
Apr 07, 2021
by
Ben Boeckel
⛰
Browse files
Help/dev/review: mention `--pretty=reference`
This was added in Git 2.25 (13 Jan 2020).
parent
46393e89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Help/dev/review.rst
View file @
f71e7b81
...
...
@@ -254,7 +254,8 @@ The preferred form for references to other commits is
The author date of the commit, in its original time zone, formatted as
``CCYY-MM-DD``. ``git-log(1)`` shows the original time zone by default.
This may be generated with
This may be generated with ``git show -s --pretty=reference <commit>`` with
Git 2.25 and newer. Older versions of Git can generate the same format via
``git show -s --date=short --pretty="format:%h (%s, %ad)" <commit>``.
If the commit is a fix for the mentioned commit, consider using a ``Fixes:``
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment