What are short status ?

What are short status ?

About

short status is a one letter that summarize the file status

List

  • Added (A),
  • Copied (C),
  • Deleted (D),
  • Modified (M),
  • Renamed (R),
  • have their type (i.e. regular file, symlink, submodule, …) changed (T),
  • are Unmerged (U),
  • are Unknown (X),
  • or have had their pairing Broken (B)

Usage

git status -s
git diff-index --diff-filter=AM --name-only  HEAD





Recommended Pages
Git - Diff

in Git Diff between the head commit of the current branch (HEAD) and the current file not yet committed (in the working area) Between the head of the main branch and the head commit of the current...
Git - File (Blob)

(Blob) File management in Git (blob and not directory) blob object on the local file system or not (ie in the git file system database) See and short status A file (or blob) identifier...



Share this page:
Follow us:
Task Runner