diff options
author | Junio C Hamano <junkio@cox.net> | 2005-08-10 00:10:18 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-08-10 00:10:18 -0700 |
commit | f69714c38c6f3296a4bfba0d057e0f1605373f49 (patch) | |
tree | 2d850f14f62d33ed514e2b197b63fe459ff20d37 /Documentation/git-commit-script.txt | |
parent | Merge with master. (diff) | |
parent | Skip merges in format-patch. (diff) | |
download | tgif-f69714c38c6f3296a4bfba0d057e0f1605373f49.tar.xz |
Merge with master.
This merges commit
c35a7b8d806317dc1762e36561cbd31c2530dd9c
from master into our head commit
edee414c3e5a546aae3dd1529f397df949713305
Sincerely,
jit-merge command.
Diffstat (limited to 'Documentation/git-commit-script.txt')
-rw-r--r-- | Documentation/git-commit-script.txt | 49 |
1 files changed, 49 insertions, 0 deletions
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) <commit> | -F <file> | -m <msg>] <file>... + +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 <commit>:: + 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 <file>:: + Take the commit message from the given file. Use '-' to + read the message from the standard input. + +-m <msg>:: + Use the given <msg> as the commit message. + +<file>...:: + Update specified paths in the index file. + + +Author +------ +Written by Linus Torvalds <torvalds@osdl.org> + +GIT +--- +Part of the link:git.html[git] suite |