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





Discover More
Git - File

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 is the...
How to perform a text file diff in Git?

This page is text file 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...



Share this page:
Follow us:
Task Runner