--- a/git.rst Mon Jun 26 11:29:46 2017 +0300 +++ b/git.rst Mon Jun 26 18:32:03 2017 +0300 @@ -121,7 +121,7 @@ $ $EDITOR Makefile $ git add Makefile - $ git diff + $ git diff --cached $ git commit -m "..." Commit all changed and previously manages files::