This tool is intended to help manage projects that have a large number of related git repositories. It will scan a directory hierarchy of git repos, and perform actions on each. The currently supported actions are:
Support is planned for a "merge" command, for repos that can be fast-forwarded.
Clone the repo.
In the src/GitUpdater
directory, do either:
make install
or, if already installed:
make update
I originally tried using libgit2sharp, but it does not support SSL (git) protocol, which is a requirement for my use case. It also complicated packaging, as it is a wrapper on top of a native library, so building a true single-executable is not possible. So, instead, I am using SimpleExec to run git commands, and then parsing the output.
The git documentation has been helpful, as it provides details on the output from each command.