#git-repository #directory #fetch #pull

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

#4 in #pull

Download history 153/week @ 2024-03-29 16/week @ 2024-04-05 3/week @ 2024-05-17 1/week @ 2024-05-24 1/week @ 2024-06-07 156/week @ 2024-06-21 9/week @ 2024-06-28 16/week @ 2024-07-05

181 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

~3–14MB
~110K SLoC