#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

#2898 in Command line utilities

Download history 6/week @ 2024-09-11 4/week @ 2024-09-18 4/week @ 2024-09-25 2/week @ 2024-10-02

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

~3–13MB
~95K SLoC