From 62033318abbe648e8be49121b0a3570c07d38a9d Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 8 Aug 2005 17:39:18 -0700 Subject: Document "git commit" Signed-off-by: Junio C Hamano --- Documentation/git-commit-script.txt | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/git-commit-script.txt (limited to 'Documentation/git-commit-script.txt') diff --git a/Documentation/git-commit-script.txt b/Documentation/git-commit-script.txt new file mode 100644 index 0000000000..bb559d70a5 --- /dev/null +++ b/Documentation/git-commit-script.txt @@ -0,0 +1,49 @@ +git-commit-script(1) +==================== +v0.99.4, Aug 2005 + +NAME +---- +git-commit-script - Record your changes + +SYNOPSIS +-------- +'git commit' [-a] [(-c | -C) | -F | -m ] ... + +DESCRIPTION +----------- +Updates the index file for given paths, or all modified files if +'-a' is specified, and makes a commit object. The command +VISUAL and EDITOR environment variables to edit the commit log +message. + +OPTIONS +------- +-a:: + Update all paths in the index file. + +-c or -C :: + Take existing commit object, and reuse the log message + and the authorship information (including the timestamp) + when creating the commit. With '-C', the editor is not + invoked; with '-c' the user can further edit the commit + message. + +-F :: + Take the commit message from the given file. Use '-' to + read the message from the standard input. + +-m :: + Use the given as the commit message. + +...:: + Update specified paths in the index file. + + +Author +------ +Written by Linus Torvalds + +GIT +--- +Part of the link:git.html[git] suite -- cgit v1.3