LinuxCommandLibrary

git-bulk

Execute operations on multiple Git repositories.

TLDR

Register the current directory as a workspace

$ git bulk --addcurrent [workspace_name]
copy


Register a workspace for bulk operations
$ git bulk --addworkspace [workspace_name] [/absolute/path/to/repository]
copy


Clone a repository inside a specific directory then register the repository as a workspace
$ git bulk --addworkspace [workspace_name] [/absolute/path/to/parent_directory] --from [remote_repository_location]
copy


Clone repositories from a newline-separated list of remote locations then register them as workspaces
$ git bulk --addworkspace [workspace-name] [absolute/path/to/root/directory] --from [absolute/path/to/file]
copy


List all registered workspaces
$ git bulk --listall
copy


Run a Git command on the repositories of the current workspace
$ git bulk [command] [command_arguments]
copy


Remove a specific workspace
$ git bulk --removeworkspace [workspace_name]
copy


Remove all workspaces
$ git bulk --purge
copy

Copied to clipboard