[Git] Show file status in a compact format

Created on November 30, 2026

Use git status --short to show the state of each changed path on one line.

git status --short

This example has an unstaged edit to config.txt and an untracked memo.txt.

 M config.txt
?? memo.txt

The first two positions are status columns. A leading space followed by M indicates an unstaged modification. ?? marks an untracked path.

You can use -s as shorthand.

git status -s

Reference

Git