#git #directory

app gitjuggling

Run a git command in all repositories under the current working directory

7 releases (stable)

1.4.0 Jan 1, 2025
1.3.0 Jan 1, 2025
1.2.0 Jun 23, 2024
1.1.0 Mar 29, 2024
0.1.0 Mar 5, 2023

#138 in Development tools

Download history 3/week @ 2024-12-09 294/week @ 2024-12-30 17/week @ 2025-01-06 1/week @ 2025-02-03

350 downloads per month

MIT license

18KB
453 lines

gitjuggling

This is a simple tool to run a git command in all repositories under the current working directory.

For example, with the following directory layout:

.
├── bar
│   ├── foobar
│   └── .git
├── baz
│   ├── foobar
│   └── .git
└── foo
    ├── foobar
    └── .git

You can run git pull in all repositories like this:

$ gitjuggling fetch --all -p
/tmp/test/foo executing fetch --all -p
/tmp/test/baz executing fetch --all -p
/tmp/test/bar executing fetch --all -p
3 items succeeded, 0 items failed

Installation

Fedora

You can use the COPR repository:

$ sudo dnf copr enable vrischmann/gitjuggling
$ sudo dnf install --refresh gitjuggling

Dependencies

~2.3–9MB
~78K SLoC