Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rschwarz/gitthemall

Synchronize several git repositories automatically.
https://github.com/rschwarz/gitthemall

Last synced: 23 days ago
JSON representation

Synchronize several git repositories automatically.

Awesome Lists containing this project

README

        

* git them all!
Synchronize several git repositories automatically.

Per repository, allow any of the these actions:
- =fetch= from =origin= (always done implicitely)
- =pull --rebase= from =origin=
- =commit= all changes from dirty tree, with timestamp in message
- =push= to =origin=

The program fetches from =origin= and analyzes the current state. If
allowed, it brings repos up-to-date. Otherwise, the user is informed
about differences.

Using the option =--remote=, the =origin= repository may be overridden
temporarily with a path for the =fetch=, =pull= and =push= actions. In case
no repository is found at that path, a bare repository is cloned
there. This feature is useful for offline synchronization using an USB
key.

* Configuration
Configuration with simple text file:
- one line per repo
- first item is path to repo
- rest of line are comma-separated values from
- =pull=
- =commit=
- =push=

* Dependencies
=gitthemall= is developed in Python 2 and uses the =sh= package.