]> git.phdru.name Git - git-wiki.git/commitdiff
git commit --only == git commit -o
authorOleg Broytman <phd@phdru.name>
Wed, 19 Aug 2015 23:14:01 +0000 (02:14 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 19 Aug 2015 23:14:01 +0000 (02:14 +0300)
pep-git.txt

index 6563191dade96ec1b993efc880445cfa6b1f589d..f3b5e5551905cf3322f1dadb9aea4c1a10782fad 100644 (file)
@@ -651,7 +651,7 @@ new (untracked) files. To simplify committing in case you just want to
 commit everything without reviewing run ``git commit --all`` (or just
 ``-a``) - the command adds every changed tracked file to the index and
 then commit. To commit a file or files regardless of patches collected
 commit everything without reviewing run ``git commit --all`` (or just
 ``-a``) - the command adds every changed tracked file to the index and
 then commit. To commit a file or files regardless of patches collected
-in the index run ``git commit [--only] -- $FILE...``.
+in the index run ``git commit [--only|-o] -- $FILE...``.
 
 To add hunks of patches to the index use ``git add --patch`` (or just
 ``-p``). To remove collected files from the index use ``git reset HEAD
 
 To add hunks of patches to the index use ``git add --patch`` (or just
 ``-p``). To remove collected files from the index use ``git reset HEAD