September 2018
Intermediate to advanced
764 pages
20h 6m
English
To be more precise, the tracked state can be further subdivided into three substates: modified, staged, and committed. Our README.md file is in the committed state.
Git will pay attention to all the tracked files; if we modify any of them (which includes deletions and renames), they will change their state from committed to modified:
$ echo "A very simple user directory API with recommendation engine" >> README.md$ git statusOn branch masterChanges not staged for commit: modified: README.md
Modified files, alongside any untracked files, will be listed when we run git status. Modified files can be committed in the same manner as untracked files:
$ git add README.md$ git commit -m "Update README.md"[master 85434b6] ...
Read now
Unlock full access