]> git.phdru.name Git - git-wiki.git/blobdiff - pep-git.txt
git commit --only == git commit -o
[git-wiki.git] / 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
-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