Skip to content

dswisher/git-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gup - multi-directory git status/fetch/rebase

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:

  • git fetch
  • status - an "improved" git status

Support is planned for a "merge" command, for repos that can be fast-forwarded.

Installation

Clone the repo. In the src/GitUpdater directory, do either:

make install

or, if already installed:

make update

Libraries Used

Git

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.

Similar Tools

About

Tool to help manage multiple git repositories

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published