Show a clear snapshot of the state of our files and of the repository:
Working tree changes
Tracked
Untracked
Staged files
Last commit
The default output of git status is better for this purpose, but verbose:
$ git status
On branch master
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
new file: chapter2.txt
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: chapter1.txt
Untracked files:
(use "git add <file>..." to include in what will be committed)
chapter3.txt
Show a clear snapshot of the state of our files and of the repository:
The default output of
git status
is better for this purpose, but verbose: