LinuxCommandLibrary

git-bulk

Execute Git commands across multiple repositories

TLDR

Run command on all repos

$ git bulk --all [command]
copy
Add workspace
$ git bulk --addworkspace [name] [path]
copy
List workspaces
$ git bulk --listall
copy
Run in specific workspace
$ git bulk --workspace [name] [command]
copy

SYNOPSIS

git bulk [options] [command]

DESCRIPTION

git bulk is a git-extras utility that enables executing Git commands across multiple repositories simultaneously. It manages workspaces, which are collections of repository paths that can be organized by project, team, or any logical grouping.
The tool eliminates the need to manually navigate to each repository and run the same command repeatedly. Commands like status checks, branch updates, or pull operations can be performed across dozens of repositories in a single invocation.
Workspaces are stored in configuration, allowing you to define repository groups once and reuse them. This is invaluable for developers managing microservices, monorepo-adjacent architectures, or multiple client projects where synchronized operations are common.

PARAMETERS

--all

Run on all repositories.
--addworkspace name path
Add workspace.
--workspace name
Use specific workspace.
--listall
List all workspaces.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community