The [status] Command

Show the working tree status

Usage

libra status [--porcelain]

Description

Displays paths that have differences between the index file and the current HEAD commit, paths that have differences between the working tree and the index file, and paths in the working tree that are not tracked by Libra.

Note:

The status command now supports the --porcelain option for machine-readable output format.

See https://git-scm.com/docs/git-status for more information.

Options

  • --porcelain Provide output in a stable, easy-to-parse format for scripts. Each line of output contains two status columns followed by the file path: First column = index status (changes staged for commit) Second column = working tree status (changes not staged) Status codes: A = Added M = Modified D = Deleted ?? = Untracked When --porcelain is not provided, the default human-readable output format is used.