GIT-STATUS(1) (NAME) git-status - (SYNOPSIS) git status [] [--] [...] (DESCRIPTION) HEAD ( gitignore(5) ). git commit git commit git add () . (OPTIONS) -s, --short (short-format). -b, --branch . --show-stash (stash). --porcelain[=] (). . . . v1 . --long (long-format). . -v, --verbose () ( git diff --cached). -v ( git diff). -u[], --untracked-files[=] . mode . : all ( -uno -u no). : no . normal . all . -u ( normal) . . (untracked cache) (split index) ( git update-index --untracked-cache git update-index --split-index ). no git status . true normal false no . status.showUntrackedFiles git-config(1) . --ignore-submodules[=] . none untracked dirty all . none HEAD (superproject) ignore git-config(1) gitmodules(5) . untracked (dirty) ( ). dirty ( .. ). all ( status.submoduleSummary ). --ignored[=] . mode . : traditional . : traditional --untracked-files=all . no . matching (ignore pattern). . . . -z NUL LF. --porcelain=v1 . --column[=], --no-column . column.status . --column --no-column always never . --ahead-behind, --no-ahead-behind / (ahead/behind) . true . --renames, --no-renames . git-diff(1) --no-renames . --find-renames[=] . git-diff(1) --find-renames . ... pathspec gitglossary(7) . (OUTPUT) (comment) . . . ( ). status.relativePaths . (Short Format) : -> / . . XY . ( ->) . C : (34) . : o X Y . o (merge conflict) X Y . (unmerged) . o X Y . ?? . --ignored !! . (merge) --merge (cherry-picks) . X Y : ' ' M T ( ) A D R C ( status.renames "copies" ) U +---------+--------+--------------------------------------------------+ | X | Y | | +---------+--------+--------------------------------------------------+ | | [AMD] | | +---------+--------+--------------------------------------------------+ | M | [ MTD] | | | | | | +---------+--------+--------------------------------------------------+ | T | [ MTD] | | | | | | +---------+--------+--------------------------------------------------+ | A | [ MTD] | | | | | | +---------+--------+--------------------------------------------------+ | D | | | +---------+--------+--------------------------------------------------+ | R | [ MTD] | | | | | | +---------+--------+--------------------------------------------------+ | C | [ MTD] | | +---------+--------+--------------------------------------------------+ |[MTARC] | | | | | | | +---------+--------+--------------------------------------------------+ |[ MTARC] | M | | | | | | +---------+--------+--------------------------------------------------+ |[ MTARC] | T | | | | | | | | | | +---------+--------+--------------------------------------------------+ |[ MTARC] | D | | | | | | +---------+--------+--------------------------------------------------+ | | R | | | | | | +---------+--------+--------------------------------------------------+ | | C | | | | | | +---------+--------+--------------------------------------------------+ | D | D | | | | | | +---------+--------+--------------------------------------------------+ | A | U | | | | | | +---------+--------+--------------------------------------------------+ | U | D | | | | | | +---------+--------+--------------------------------------------------+ | U | A | | | | | | +---------+--------+--------------------------------------------------+ | D | U | | | | | | +---------+--------+--------------------------------------------------+ | A | A | | | | | | +---------+--------+--------------------------------------------------+ | U | U | | | | | | +---------+--------+--------------------------------------------------+ | ? | ? | | +---------+--------+--------------------------------------------------+ | ! | ! | | +---------+--------+--------------------------------------------------+ : M HEAD m ? git add . m ? . ? . -b : ## (Porcelain Format Version 1) . . : 1. color.status . 2. status.relativePaths . -z . . -> ( from -> to to from ). NUL ( 0) ( ). . m ? M . (Porcelain Format Version 2) . . # . . (Branch Headers) --branch . +-------------------------+----------------------------+ | | | +-------------------------+----------------------------+ |# branch.oid | | | |(initial) | . | +-------------------------+----------------------------+ |# branch.head | | . | |(detached) | | +-------------------------+----------------------------+ |# branch.upstream | | | | | | | | | | . | +-------------------------+----------------------------+ |# branch.ab + | | |- | | | | | | | | | | | | | | | | | | | . | +-------------------------+----------------------------+ (Stash Information) --show-stash : # stash (Changed Tracked Entries) . . . : 1 : 2 +-------------+---------------------------------------------------------------------+ | | | +-------------+---------------------------------------------------------------------+ | | | | | | | | XY | | | | | | "." | | | . | +-------------+---------------------------------------------------------------------+ | | | | | | | | . "N..." | | | . | | | S | | | .o | | | "C" | | | ".".o | | | | | | "M" | | | ".".o | | | | | | "U" | | | ".". | +-------------+---------------------------------------------------------------------+ | | (octal | | | file mode) HEAD. | +-------------+---------------------------------------------------------------------+ | | | | | . | +-------------+---------------------------------------------------------------------+ | | | | | . | +-------------+---------------------------------------------------------------------+ | | HEAD. | +-------------+---------------------------------------------------------------------+ | | . | +-------------+---------------------------------------------------------------------+ | | | | | ( | | | ). | | | "R100" "C75". | +-------------+---------------------------------------------------------------------+ | | . | | | / | | | . | +-------------+---------------------------------------------------------------------+ | | -z | | | | | | NUL ( 0x00) | | | | | | TAB ( 0x09) | | | . | +-------------+---------------------------------------------------------------------+ | | HEAD | | | . | | | | | | / | | | | | | | | | / | | | . | +-------------+---------------------------------------------------------------------+ "u" . u

+-------------+----------------------------+ | | | +-------------+----------------------------+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | . | +-------------+----------------------------+ | | | | | | | | | | | | | | | | | | | | | | | . | +-------------+----------------------------+ | | | | | | | | | | | (stage | | | 1). | +-------------+----------------------------+ | | | | | | | | | | | (stage | | | 2). | +-------------+----------------------------+ | | | | | | | | | | | (stage | | | 3). | +-------------+----------------------------+ | | | | | | | | | | | . | +-------------+----------------------------+ |

| | | | . | +-------------+----------------------------+ |

| | | | . | +-------------+----------------------------+ |

| | | | . | +-------------+----------------------------+ | | . | +-------------+----------------------------+ (Other Items) ( ) . : ? : ! z- -z NUL ( 0x00) . -z "" core.quotePath ( git-config(1) ). (CONFIGURATION) color.status ( status.color -- ) color.status. . status.relativePaths false . status.submoduleSummary true ( 1- ) ( --summary-limit git-submodule(1) ). status diff.ignoreSubmodules all submodule..ignore=all . --ignore-submodules=dirty git submodule summary . (BACKGROUND REFRESH) git status (stat) . (status ). status . status git --no-optional-locks status ( git(1) ). (UNTRACKED FILES AND PERFORMANCE) git status . . . git status git status . o --untracked-files=no status.showUntrackedFiles=no ( ): git status . . git status git add . o advice.statusUoption=false ( git-config(1) ): false . ( -uno ) . o core.untrackedCache=true ( git-update-index(1) ): (untracked cache) git status . . . .git/index . . . o core.untrackedCache=true core.fsmonitor=true core.fsmonitor= ( git-update-index(1) ): FSMonitor git status . . . FSMonitor . / FSMonitor git status (warm up) . . (SEE ALSO) gitignore(5) (GIT) git(1) Git 2.55.0 2026-06-29 GIT-STATUS(1)