/gloc

Run a shell command in all the git repos in a directory.

Primary LanguageGoApache License 2.0Apache-2.0

gloc

Run a shell command in all the git repos in a directory.

gif

Idea stolen from fabiospampinato/autogit

Install

macOS

brew tap meain/homebrew-meain
brew install meain/homebrew-meain/gloc

Manual

Download the binary from the release page.

Usage

gloc "git fetch" "./path/to/folder"

You can provide two other flags

  • --output to show the output of the command
  • --all-dirs to do the command on all dirs and not just git projects