Skip to content
Check the state of all your git worktrees.
Go Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.goreleaser.yml
.travis.yml
LICENSE
Makefile
README.md
go.mod
go.sum
main.go

README.md

gitallstatus

Check the state of all your git worktrees in subdirectories.

Install

Binary (Linux; macOS; Windows)

Download the binary from the releases page.

From Source

go get 4d63.com/gitallstatus

Usage

Print a list of repositories in the current directory that have branches not pushed upstream, or dirty working directories:

gitallstatus [-e] [-a]

Add -e to exit with an error code if there are changes not pushed.

Add -a to print all branches.

Example:

$ gitallstatus
fork-stretchr-testify/
  master               ↑  origin/master
  base                    <none>
gs/
  master               ↑↓ origin/master
helloworld/
  push-with-request       <none>
  add-vcr-2           M   origin/add-vcr-2
  add-vcr              ↑↓ origin/add-vcr
You can’t perform that action at this time.