#git-repository #directory #fetch #pull

app gitjuggling

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

4 releases (2 stable)

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

#3 in #pull

Download history 2/week @ 2024-02-14 14/week @ 2024-02-21 19/week @ 2024-02-28 119/week @ 2024-03-27 48/week @ 2024-04-03 2/week @ 2024-04-10

169 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–11MB
~97K SLoC