diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2008-04-12 08:23:17 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2008-04-12 08:23:17 +0000 |
commit | e79159d5498ad2b14be1b372eab269a78cfc3443 (patch) | |
tree | 2c4676854d865f5dfed2224e28db1b7ca169ac90 /git-commit.txt | |
parent | dcc6495c1f9fcf63dde4f602c75ded45145a7237 (diff) | |
download | git-htmldocs-e79159d5498ad2b14be1b372eab269a78cfc3443.tar.gz |
Autogenerated HTML docs for v1.5.5-40-g4cdda
Diffstat (limited to 'git-commit.txt')
-rw-r--r-- | git-commit.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/git-commit.txt b/git-commit.txt index b4ae61ff4..4bb51cc06 100644 --- a/git-commit.txt +++ b/git-commit.txt @@ -139,6 +139,17 @@ but can be used to amend a merge commit. as well. This is usually not what you want unless you are concluding a conflicted merge. +-o|--only:: + Make a commit only from the paths specified on the + command line, disregarding any contents that have been + staged so far. This is the default mode of operation of + 'git commit' if any paths are given on the command line, + in which case this option can be omitted. + If this option is specified together with '--amend', then + no paths need be specified, which can be used to amend + the last commit without committing changes that have + already been staged. + -u|--untracked-files:: Show all untracked files, also those in uninteresting directories, in the "Untracked files:" section of commit |