]> rtime.felk.cvut.cz Git - hubacji1/oneflow.git/commitdiff
Add changes section, changes info
authorJiri Hubacek <hubacji1@fel.cvut.cz>
Thu, 28 Jun 2018 05:18:29 +0000 (07:18 +0200)
committerJiri Hubacek <hubacji1@fel.cvut.cz>
Thu, 28 Jun 2018 05:18:32 +0000 (07:18 +0200)
README.md

index 2a87cae8cd541f06a71cd3967881117d41391ab5..74479a8138c5d6637409f8c0f54d2aca757800e4 100644 (file)
--- a/README.md
+++ b/README.md
@@ -20,4 +20,13 @@ commits - changes to files in row scale.
 The changes of the commit can be shown by `git show COMMIT_ID`. Where the
 `COMMIT_ID` is the identifier obtained from `git log` command.
 
+# Changes - check out before commit
+The status of the repository can be checked by `git status` command. This
+allows you to see *new files* that are not yet tracked, *changed files* whose
+changes are not yet ready to be commited to the log history and *changed files*
+that are ready.
+
+The `git diff` command shows *changes* in not-yet-ready files and `git diff
+--cached` shows *changes* that are ready to be committed.
+
 # Log changes - build repository history