git-lfs-status(1)

git-lfs-status1

Show the status of git lfs files in the working tree

Usage

git lfs status [<options>]

Overview

Display paths of Git LFS objects that

• have not been pushed to the Git LFS server. These are large files that would be uploaded by git push.

• have differences between the index file and the current HEAD commit. These are large files that would be committed by git commit.

• have differences between the working tree and the index file. These are files that could be staged using git add.

This command must be run in a non-bare repository.

Options

-p, --porcelain

Give the output in an easy-to-parse format for scripts.

-j, --json

Writes Git LFS file status information as JSON to STDOUT, if the command exits successfully. Intended for interoperation with external tools. If --porcelain is also provided, that option takes precedence.

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

-j since Arch Linux 2026-11-01; -p since Arch Linux 2026-11-01.

From git-lfs 3.8.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.