GIT-BULK(1)
π git-bulk β like, the manual, but make it make sense π
okay bestie, sit down, hydrate, because we're about to talk about the icon of multi-repo chaos: git-bulk, straight out of Git Extras (she's fancy, she's in the GIT-BULK(1) man section, she's that girl). If you've ever had, like, seventeen repos and one dream, this is the page for you π«Ά
β¨ NAME β¨
git-bulk β run git commands on multiple repositories. yes. multiple. at once. no cap. π
π¦ SYNOPSIS π¦
git-bulk [-q|--quiet] [-g] [--no-follow-symlinks] [--no-follow-hidden] ([-a]|[-w WS-NAME]) GIT-COMMAND
git-bulk --addworkspace WS-NAME WS-ROOT-DIRECTORY (--from URL-OR-FILE)
git-bulk --removeworkspace WS-NAME
git-bulk --addcurrent WS-NAME
git-bulk --purge
git-bulk --listall
look at her. six whole modes. main character energy fr fr π
πΈ DESCRIPTION πΈ
git bulk adds convenient support for operations that you want to execute on multiple git repositories. that's it, that's the vibe β one command, many repos, zero tears π
here's what she actually does for you:
- simply register workspaces that contain multiple git repos in their directory structure π
- run any git command on the repositories of the registered workspaces in one command to
git bulkπ₯ - use the "guarded mode" to check on each execution π‘οΈ
π OPTIONS π
-aβ run a git command on all workspaces and their repositories. every single one. she's committed π-gβ ask the user for confirmation on every execution. yes, every. she's just checking in on you, that's love π--no-follow-symlinksβ do not traverse symbolic links under the workspace when she's out here searching for git repositories. hands off the symlinks bestie β--no-follow-hiddenβ do not traverse hidden (dotted) directories under the workspace when searching for git repositories. the.-girlies get left out, sorry π«£-wWS-NAME β run the git command on the specified workspace. the workspace must be registered. no registration, no service πGIT-COMMANDβ any git Command you wish to execute on the repositories. literally any. go feral β¨--addworkspaceWS-NAME WS-ROOT-DIRECTORY (--fromURL-OR-FILE) β register a workspace for bulk operations. all repositories in the directories below WS-ROOT-DIRECTORY get registered under this workspace with the name WS-NAME. β οΈ WS-ROOT-DIRECTORY must be an absolute path, she does not do relative, she's not playing games. with option--fromthe URL to a single repository or a file containing multiple URLs can be added and they will be cloned directly into the workspace. suitable for the initial setup of a multi-repo project β honestly iconic for fresh starts π--removeworkspaceWS-NAME β remove the workspace with the logical name WS-NAME. bye bestie π--addcurrentWS-NAME β adds the current directory as workspace togit bulkoperations. the workspace is referenced with its logical name WS-NAME. effortless. lazy-girl win πgit bulk --purgeβ removes all defined repository locations. all of them. nuclear. π¨git bulk --listallβ list all registered repositories. a little scroll, a little flex π
π EXAMPLES π
register a workspace so that git bulk knows about it using an absolute path:
$ git bulk --addworkspace personal ~/workspaces/personal
or register a workspace using an environment variable pointing to an absolute path:
$ git bulk --addworkspace personal '$PERSONAL_WORKSPACE'
use option --from in order to directly clone a repository or multiple repositories:
$ git bulk --addworkspace personal ~/workspaces/personal --from https://github.com/tj/git-extras.git
$ git bulk --addworkspace personal ~/workspaces/personal --from ~/repositories.txt
repositories.txt:
----------------------------------
https://host-of-git/repo-1.git
https://host-of-git/repo-2.git
https://host-of-git/repo-3.git
register the current directory as a workspace to git bulk:
$ git bulk --addcurrent personal
list all registered workspaces:
$ git bulk --listall
run a git command on the repositories of the current workspace:
$ git bulk fetch
run a git command on the specified workspace and its repositories:
$ git bulk -w personal fetch
run a git command but ask the user for confirmation on every execution (guarded mode):
$ git bulk -g fetch
remove a registered workspace:
$ git bulk --removeworkspace personal
remove all registered workspaces:
$ git bulk --purge
π§ FILES π§
.gitconfigβ store thegit-bulkregistered workspaces under thebulkworkspaceskey. that's where she keeps her little secrets π
π AUTHOR π
Written by Niklas Schlimm <ns103@hotmail.de>. thank you for your service, legend π«‘
π REPORTING BUGS π
<https://github.com/nschlimm/git-bulk>
found a bug? tell her directly, she wants to know, be nice about it π
π SEE ALSO π
<https://github.com/tj/git-extras>
and that's the whole page, bestie π go forth, bulk your repos, be the main character of your own multi-repo project β¨
this was the GIT-BULK(1) manual page from Git Extras, dated May 2026. mwah. periodt. π
π¦ where this page comes from
- ubuntu stonking: git-extras 7.5.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms