diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2009-12-02 23:16:18 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-12-03 12:41:22 -0800 |
commit | 02b47cd77e4af40da95a74c90846965a2ea6999b (patch) | |
tree | 9315896131b35d27c968dc366d75fbf2235662f7 /Documentation/git-commit.txt | |
parent | b809d9cd0787e68f442c6795ec76580bb37d1a00 (diff) | |
download | git-02b47cd77e4af40da95a74c90846965a2ea6999b.tar.gz git-02b47cd77e4af40da95a74c90846965a2ea6999b.tar.xz |
builtin-commit: add --date option
This is like --author: allow a user to specify a given date without
using the GIT_AUTHOR_DATE environment variable.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-commit.txt')
-rw-r--r-- | Documentation/git-commit.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt index d227cec9b..c37c21e4e 100644 --- a/Documentation/git-commit.txt +++ b/Documentation/git-commit.txt @@ -11,7 +11,7 @@ SYNOPSIS 'git commit' [-a | --interactive] [-s] [-v] [-u<mode>] [--amend] [--dry-run] [(-c | -C) <commit>] [-F <file> | -m <msg>] [--reset-author] [--allow-empty] [--no-verify] [-e] [--author=<author>] - [--cleanup=<mode>] [--] [[-i | -o ]<file>...] + [--date=<date>] [--cleanup=<mode>] [--] [[-i | -o ]<file>...] DESCRIPTION ----------- @@ -85,6 +85,9 @@ OPTIONS an existing commit that matches the given string and its author name is used. +--date=<date>:: + Override the author date used in the commit. + -m <msg>:: --message=<msg>:: Use the given <msg> as the commit message. |