gloc
gloc copied to clipboard
Run a shell command in all the git repos in a directory.
gloc
Run a shell command in all the git repos in a directory.

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
--outputto show the output of the command--all-dirsto do the command on all dirs and not just git projects