Status¶
To get a quick bearing of your version control surroundings, you can use the git status
command.
This command will provide you with an overview of e.g. which files:
- Have been changed;
- Have been newly added;
- Have been deleted.
Running the command will provide something in line with the following information:
On branch development
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: docs/git_repository/status.md
Untracked files:
(use "git add <file>..." to include in what will be committed)
docs/git_repository/abu_bakr.md
no changes added to commit (use "git add" and/or "git commit -a")