git-utils/README.md
Alex A. Naanou b738c5a485 added a license + docs..
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2023-09-09 16:25:10 +03:00

916 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 file
  • git 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:
    $ git listall -o -r > repos.lst
    
    move the repos.lst to the target machine and:
    $ git cloneall repos.lst
    

License

BSD 3-Clause License

Copyright (c) 2016-2023, Alex A. Naanou,
All rights reserved.