#git-repository #directory #fetch

app gitjuggling

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

7 releases (stable)

new 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

#2724 in Command line utilities

Download history 7/week @ 2024-09-13 5/week @ 2024-09-20 3/week @ 2024-09-27 1/week @ 2024-10-04 3/week @ 2024-12-06 135/week @ 2024-12-27

138 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–8.5MB
~79K SLoC