Git

Git: git status --short --branch — Windows

Check branch and working-tree state.

Availability: Third-party software; install and version dependent.中文

Syntax

git status --short --branch

Examples

Check branch and working-tree state.

git status --short --branch

Parameters, options and clauses

Option / clauseDescription
--shortUse the compact status format.
--branchShow branch and tracking information.
--porcelain[=<version>]Use a stable status format for scripts.
--ignoredInclude ignored files.
Safety note

Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.

Official reference ↗Back to directory