LinuxCommandLibrary

git-who

List remote branches by author and last commit date

TLDR

Show all remote branches by author
$ git-who
copy
Show branches for specific author
$ git-who [author-name]
copy
Show only stale branches (older than 30 days)
$ git-who --stale
copy
Sort by last commit date
$ git-who --sort date
copy

SYNOPSIS

git-who [options] [author]

DESCRIPTION

git-who lists remote Git branches showing the author and date of the last commit on each branch. It helps identify who owns which branches and how stale they are.
The tool is useful for repository cleanup, finding old branches, and understanding branch ownership in teams.

PARAMETERS

--stale

Show only stale branches (30+ days old)
--sort FIELD
Sort by: date, author, name (default: date)
--remote REMOTE
Specify remote (default: origin)
--format FORMAT
Output format: table, csv, json
-v, --version
Display version and exit
-h, --help
Display help and exit

OUTPUT

Displays branches with:
- Branch name
- Author of last commit
- Date of last commit
- Days since last commit

CAVEATS

Requires access to remote repository. Fetch may be needed for accurate data. Performance depends on number of branches.

HISTORY

git-who was created to help teams manage their Git branches by providing visibility into branch ownership and activity.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard