mirror of
https://github.com/flynx/git-utils.git
synced 2025-10-28 10:40:08 +00:00
1015 B
1015 B
git-utlis
This package provides a set of git meta-porcelain commands to manage a work tree with multiple git repositories.
Provided commands:
git listall
List repositories in tree.git cloneall FILE
Clone all repositories in filegit pullall
Pull changes for all repositories in tree
These enable setting up and maintaining mutiple development machines with a number of git repositories.
Workflow
In a tree with multiple git repositories:
- to pull external changes to all repositories in a tree:
$ git pullall -r - to create the same env on a different computer:
move the$ git listall -r > repos.lstrepos.lstto the target machine and:$ git cloneall repos.lst - to update the repository list with new repos:
$ git listall -r repos.lst >> repos.lst
License
Copyright (c) 2023, Alex A. Naanou,
All rights reserved.