Crates.io | mgit |
lib.rs | mgit |
version | 0.1.10 |
source | src |
created_at | 2020-02-09 19:14:45.159087 |
updated_at | 2020-05-25 07:01:44.605834 |
description | Run git on multiple projects. |
homepage | https://github.com/koozz/mgit |
repository | https://github.com/koozz/mgit |
max_upload_size | |
id | 206786 |
size | 14,505 |
Multi-git is a quick tool that could easily have been created with some shell scripts, but it's a nice project to tackle a part of my daily workflow. It performs git actions on multiple directories within the current tree.
It will:
git
with all the arguments you passed to mgit
.It can even be tweaked with the environment variable MGIT_PARALLEL
(defaulting to number of cpus times 8).
Keeping your indices up-to-date:
$ mgit fetch
Keeping your code up to date (if no conflicts):
$ mgit pull --ff-only
Keeping your code up to date, rebasing and using autostash:
$ mgit pull --rebase --autostash
Per (found) git repository, the output will show:
As a summary it will show some statistics:
Success: 110, Warnings: 3