#git-repository #directory #fetch

app gitjuggling

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

5 releases (3 stable)

1.2.0 Jun 23, 2024
1.1.0 Mar 29, 2024
1.0.0 Nov 3, 2023
0.2.0 Mar 8, 2023
0.1.0 Mar 5, 2023

#2895 in Command line utilities

Download history 5/week @ 2024-07-30 6/week @ 2024-09-10 1/week @ 2024-09-17 6/week @ 2024-09-24 3/week @ 2024-10-01

344 downloads per month

MIT license

16KB
394 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.8–9.5MB
~90K SLoC