]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-commit-script.txt
[PATCH] plug memory leak in diff.c::diff_free_filepair()
[thirdparty/git.git] / Documentation / git-commit-script.txt
CommitLineData
62033318
JH
1git-commit-script(1)
2====================
3v0.99.4, Aug 2005
4
5NAME
6----
7git-commit-script - Record your changes
8
9SYNOPSIS
10--------
11'git commit' [-a] [(-c | -C) <commit> | -F <file> | -m <msg>] <file>...
12
13DESCRIPTION
14-----------
15Updates the index file for given paths, or all modified files if
16'-a' is specified, and makes a commit object. The command
17VISUAL and EDITOR environment variables to edit the commit log
18message.
19
20OPTIONS
21-------
22-a::
23 Update all paths in the index file.
24
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.
31
32-F <file>::
33 Take the commit message from the given file. Use '-' to
34 read the message from the standard input.
35
36-m <msg>::
37 Use the given <msg> as the commit message.
38
39<file>...::
40 Update specified paths in the index file.
41
42
43Author
44------
45Written by Linus Torvalds <torvalds@osdl.org>
46
47GIT
48---
49Part of the link:git.html[git] suite