diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-04-11 23:55:55 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-04-11 23:55:55 -0700 |
commit | eed81838f0d0e031702473e1d427d71055134edd (patch) | |
tree | ba71df8000ce5e640f7258e1bb822461e778da23 /Documentation/git-commit.txt | |
parent | a68972c2ad7c3de582abeed03f660e19950ed66f (diff) | |
parent | e3389075c6160c46cf0e2a443deab1966628ed57 (diff) | |
download | git-eed81838f0d0e031702473e1d427d71055134edd.tar.gz git-eed81838f0d0e031702473e1d427d71055134edd.tar.xz |
Merge branch 'maint-1.5.4' into maint
* maint-1.5.4:
bisect: fix bad rev checking in "git bisect good"
revision.c: make --date-order overriddable
Fix section about backdating tags in the git-tag docs
Document option --only of git commit
Documentation/git-request-pull: Fixed a typo ("send" -> "end")
Diffstat (limited to 'Documentation/git-commit.txt')
-rw-r--r-- | Documentation/git-commit.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt index b4ae61ff4..4bb51cc06 100644 --- a/Documentation/git-commit.txt +++ b/Documentation/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 |