
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Fast bulk git operations across multiple repositories.
gbulk is a CLI tool that discovers git repositories recursively in a directory tree and executes git commands in parallel. Perfect for managing monorepos, workspace setups, or directories containing multiple git projects.
pull-all command with auto-stash, branch switching, and gone branch cleanupexecnpm install -g gbulk
npm install gbulk
npx gbulk [command]
git clone https://github.com/joeystdio/gbulk.git
cd gbulk
npm install
npm run build
npm link
gbulk [options] <command>
-d, --directory <path>: Base directory to search for repositories (default: current directory)listList all git repositories found in the directory tree.
# List repos in current directory
gbulk list
# List repos in a specific directory
gbulk -d ~/projects list
pull-allPull all repositories with advanced features:
--prune--autostash.gitmodules exists# Pull all repositories
gbulk pull-all
# Auto-confirm prompts (skip gone branch deletion prompt)
gbulk pull-all --yes
gbulk pull-all -y
# Preview changes without making modifications
gbulk pull-all --dry-run
execRun a custom git command in all repositories.
# Check status of all repos
gbulk exec status
# Show short status
gbulk exec status -s
# Create a branch in all repos
gbulk exec checkout -b feature/new-feature
# View recent commits
gbulk exec log --oneline -5
# Any git command works
gbulk exec fetch --all
gbulk exec stash list
gbulk exec diff --stat
submodule-listList all repositories that contain git submodules.
gbulk submodule-list
submodule-updateUpdate submodules in all repositories that have them.
gbulk submodule-update
cd ~/workspace
gbulk pull-all --yes
gbulk exec status -s
gbulk exec fetch --all --prune
gbulk exec checkout -b feature/update-dependencies
gbulk exec branch --list "*feature*"
gbulk recursively searches the directory tree for .git folders (excludes node_modules)git clone https://github.com/joeystdio/gbulk.git
cd gbulk
npm install
# Build TypeScript to dist/
npm run build
# Watch mode for development
npm run dev
# After building
node dist/index.js [command]
# Or use the bin file
./bin/gbulk [command]
gbulk/
├── src/
│ ├── index.ts # CLI entry point
│ ├── commands/ # Command implementations
│ │ ├── list.ts
│ │ ├── pull-all.ts # Most complex command
│ │ ├── exec.ts
│ │ ├── submodule-list.ts
│ │ └── submodule-update.ts
│ └── utils/
│ ├── repos.ts # Repository discovery
│ ├── git.ts # Git operations wrapper
│ └── results.ts # Result formatting
├── bin/
│ └── gbulk # Executable wrapper
└── dist/ # Compiled output
MIT
Contributions are welcome! Please feel free to submit a Pull Request.
Found a bug or have a feature request? Please open an issue at: https://github.com/joeystdio/gbulk/issues
Jo Jo (joeystdio@gmail.com)
FAQs
Fast bulk git operations across multiple repositories
We found that gbulk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.