https://github.com/berquerant/git-iter-sh
run command on multiple repositories
https://github.com/berquerant/git-iter-sh
bash
Last synced: 29 days ago
JSON representation
run command on multiple repositories
- Host: GitHub
- URL: https://github.com/berquerant/git-iter-sh
- Owner: berquerant
- License: mit
- Created: 2024-06-28T00:16:28.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-09-13T03:06:50.000Z (9 months ago)
- Last Synced: 2025-09-13T05:38:26.494Z (9 months ago)
- Topics: bash
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-iter-sh
``` shell
❯ ./git-iter.sh
git-iter.sh -- run command on multiple repositories
Usage
git-iter.sh do REPO_REGEX_OPT ... -- COMMAND ...
Run command on multiple repositories.
git-iter.sh grep REPO_REGEX_OPT ... -- GIT_GREP_REGEX_OPT ...
Grep multiple repositories.
git-iter.sh (ls|list) REPO_REGEX_OPT ...
Grep repository names.
git-iter.sh read COMMAND ...
Run command on repositories from stdin.
Environment variables
GIT_ITER_MAX_PROCS
Maximum number of processes used for execution.
Default: 1
GIT_ITER_LIST_REPOS
Command to list absolute paths of all local repositories.
Default: ghq list -p
GIT_ITER_REPOS_ROOT
Root of local repositories.
Default: value of ghq root
GIT_ITER_GREP_ABS_PATH
If set, show absolute paths of files.
GHQ
ghq command.
Default: ghq
GREP
grep command.
Default: grep
```