diff options
author | Junio C Hamano <junkio@cox.net> | 2007-03-10 23:00:38 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-10 23:00:38 -0800 |
commit | ce4474b65d9293c889282325dc697f0ddee669e6 (patch) | |
tree | 05034c949569dcc22f13e92ba5f3c0f0ed5d4bcd /Documentation | |
parent | e286114d0edbed846149227d48f75338fea760e5 (diff) | |
parent | 6cbf07efc5702351897dee4742525c9b9f7828ac (diff) | |
download | git-ce4474b65d9293c889282325dc697f0ddee669e6.tar.gz |
Merge branch 'pb/commit-i'
* pb/commit-i:
git-commit: add a --interactive option
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-commit.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt index 2187eee416..53a7bb0895 100644 --- a/Documentation/git-commit.txt +++ b/Documentation/git-commit.txt @@ -8,8 +8,9 @@ git-commit - Record changes to the repository SYNOPSIS -------- [verse] -'git-commit' [-a] [-s] [-v] [(-c | -C) <commit> | -F <file> | -m <msg> | - --amend] [--no-verify] [-e] [--author <author>] +'git-commit' [-a | --interactive] [-s] [-v] + [(-c | -C) <commit> | -F <file> | -m <msg> | --amend] + [--no-verify] [-e] [--author <author>] [--] [[-i | -o ]<file>...] DESCRIPTION @@ -35,6 +36,10 @@ methods: before, and to automatically "rm" files that have been removed from the working tree, and perform the actual commit. +5. by using the --interactive switch with the 'commit' command to decide one + by one which files should be part of the commit, before finalizing the + operation. Currently, this is done by invoking `git-add --interactive`. + The gitlink:git-status[1] command can be used to obtain a summary of what is included by any of the above for the next commit by giving the same set of parameters you would give to |