[PATCH] possible memory leak in diff.c::diff_free_filepair()
[git.git] / Documentation / git-commit-script.txt
blobcf6b5c3da24278fa79885219f2699b6415f23eea
1 git-commit-script(1)
2 ====================
3 v0.99.4, Aug 2005
5 NAME
6 ----
7 git-commit-script - Record your changes
9 SYNOPSIS
10 --------
11 'git commit' [-a] [-s] [-v] [(-c | -C) <commit> | -F <file> | -m <msg>] <file>...
13 DESCRIPTION
14 -----------
15 Updates the index file for given paths, or all modified files if
16 '-a' is specified, and makes a commit object.  The command
17 VISUAL and EDITOR environment variables to edit the commit log
18 message.
20 OPTIONS
21 -------
22 -a::
23         Update all paths in the index file.
25 -c or -C <commit>::
26         Take existing commit object, and reuse the log message
27         and the authorship information (including the timestamp)
28         when creating the commit.  With '-C', the editor is not
29         invoked; with '-c' the user can further edit the commit
30         message.
32 -F <file>::
33         Take the commit message from the given file.  Use '-' to
34         read the message from the standard input.
36 -m <msg>::
37         Use the given <msg> as the commit message.
39 -s::
40         Add Signed-off-by line at the end of the commit message.
42 -v::
43         Look for suspicious lines the commit introduces, and
44         abort committing if there is one.  The definition of
45         'suspicious lines' is currently the lines that has
46         trailing whitespaces, and the lines whose indentation
47         has a SP character immediately followed by a TAB
48         character.
50 <file>...::
51         Update specified paths in the index file.
54 Author
55 ------
56 Written by Linus Torvalds <torvalds@osdl.org> and
57 Junio C Hamano <junkio@cox.net>
60 GIT
61 ---
62 Part of the link:git.html[git] suite