From 1b3aa46276dd3f6eea5db2fde7848905ee5e6a23 Mon Sep 17 00:00:00 2001 From: Jiri Hubacek Date: Thu, 28 Jun 2018 07:18:29 +0200 Subject: [PATCH] Add changes section, changes info --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 2a87cae..74479a8 100644 --- 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 -- 2.39.2