]>
Commit | Line | Data |
---|---|---|
62033318 JH |
1 | git-commit-script(1) |
2 | ==================== | |
3 | v0.99.4, Aug 2005 | |
4 | ||
5 | NAME | |
6 | ---- | |
7 | git-commit-script - Record your changes | |
8 | ||
9 | SYNOPSIS | |
10 | -------- | |
11 | 'git commit' [-a] [(-c | -C) <commit> | -F <file> | -m <msg>] <file>... | |
12 | ||
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. | |
19 | ||
20 | OPTIONS | |
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 | ||
43 | Author | |
44 | ------ | |
45 | Written by Linus Torvalds <torvalds@osdl.org> | |
46 | ||
47 | GIT | |
48 | --- | |
49 | Part of the link:git.html[git] suite |