Ad space (banner)
🌿Git Lessons
Lesson 55 / 59

Checking Status Compactly with git status -s

This lesson covers checking the current state compactly with git status -s. It's for anyone searching "git status -s usage."

git status -s shows your current change status in a more compact format (short format) than a regular git status.

In Try It, run git status -s. Each file's state appears as one simple line, made up of just a symbol (M for modified, A for added, etc.) plus the filename.

A common early mistake is not remembering what the symbols mean — precisely because it's compact, you need to understand symbols like M, A, and D; comparing it side by side with regular status at first is a good way to learn them. In real teams, this compact display is preferred on projects with a lot of changed files, whenever you want a fast overview of the current state.

Git
Try it (type this into the pseudo terminal)
git status -s

🧑‍💻 You can type this command into the Git pseudo terminal to try it yourself (this page itself has no interactive terminal).

Ad space (banner)
Ad space (in-article)