gas

command module
v1.0.1-0...-9b4cfa2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2021 License: MIT Imports: 8 Imported by: 0

README

gas

Build Go Report Card Release

Check the state of all your git worktrees in subdirectories.

Checks for any untracked or modified files, and any unpushed branches in all git repositories below the current directory.

Install

Binary (Linux; macOS; Windows)

Download the binary from the releases page.

Homebrew (Linux; macOS)

brew install 4d63/gas/gas

From Source

go get 4d63.com/gas

Usage

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

gas [-e] [-a]

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

Add -a to print all branches.

Example:

$ gas
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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL