Simple stupid script to update code in number of directories
Wants/uses libgit2
if it's not Windows, which makes it fast, actually.
Config file example, should be stored at ${HOME}/.shelter.yml
- branch: master
target: /some/directory/path
vcs: git
upstream: origin master
task: pull
- branch: master
target: /another/directory
vcs: git
upstream: origin master
task: pull
If repository contains migma files (.migma.py
or .migma.sh
) in root directory they will be executed if repository was updated.
currently only git version control system is supported for good
template <> void Repo <VCS::Git> :: pull (
const std::shared_ptr<GlobalOptions>& opts
) {
...
}