5 Tracking Files
5 Tracking Files
Command:
1
2
$ cd checks
$ ls -l
Code output:
1
2
3
total 4
-rw-r--r-- 1 user user 657 Jul 9 12:52 disk_usage.py
Command:
1
$ git status
Code output:
1
2
3
On branch master
nothing to commit, working tree clean
Command:
1
2
$ vim disk_usage.py
$ git status
Code output:
1
2
3
4
5
6
7
On branch master
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
modified: disk_usage.py
Command:
1
$ git commit -m 'Add periods to the end of sentences.'
Code output:
1
2
3
[master ae8d19c] Add periods to the end of sentences.
1 file changed, 2 insertions(+), 2 deletions(-)
Command:
1
$ git status
Code output:
1
2
3
On branch master
nothing to commit, working tree clean
This post is licensed under CC BY 4.0 by the author.