LinuxCommandLibrary

git-info

Display comprehensive repository information

TLDR

Show repository info

$ git info
copy
Show remote info
$ git info --remote
copy

SYNOPSIS

git info [options]

DESCRIPTION

git info displays comprehensive repository information in a single formatted view, including configuration, remotes, branch status, and recent commits. It provides a quick overview of repository name, remote URLs, branch information, last commit details, and file statistics.
Part of the git-extras suite, this command gives a snapshot of the current repository state without needing to run multiple separate git commands.

PARAMETERS

--remote

Include remote information.
--help
Display help information.

CAVEATS

Part of git-extras package. Information varies by repository state. Some info requires network.

HISTORY

git info is part of git-extras, created by TJ Holowaychuk to provide a single command for repository overview.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community