Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 540 Bytes

git-status.md

File metadata and controls

29 lines (22 loc) · 540 Bytes

Git Status

The git status command shows the current state of your working directory.

Usage

git status

Explanation

  • Displays untracked, modified, and staged files.

  • Helps you understand what changes are ready to be committed.

Example

git status

Output

git status
On branch basics/03-git-status
Untracked files:
  (use "git add <file>..." to include in what will be committed)
        git-status.md

nothing added to commit but untracked files present (use "git add" to track)