utilty to easly manage git subtrees
.gitforest file example:
tkCommon:
prefix: "tkCommmon"
url: "gitlab@git.hipert.unimore.it:tk/core/tkCommon.git"
once you have your .gitforest
file compiled you can easly pull and push subtrees:
git forest pull tkCommon master
git forest push tkCommon master
you can also pull and push to all the repos using all
instead of repo name:
git forest pull all master
git forest push all master
You can install from pip
pip3 install git-forest
or just copy git-forest file into a PATH
folder
python3 setup.py bdist_wheel
python3 -m twine upload dist/*
- restart from last pull after merging while doing
git forest pull all
- add possibility to pass additional parameters
- add
subtree add
feature - add
subtree split
feature