ceccocats / git-forest

utilty to easly manage git subtrees

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

git forest

utilty to easly manage git subtrees

.gitforest file example:

tkCommon:
    prefix: "tkCommmon"
    url: "gitlab@git.hipert.unimore.it:tk/core/tkCommon.git"

usage

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

install

You can install from pip

pip3 install git-forest

or just copy git-forest file into a PATH folder

build

python3 setup.py bdist_wheel
python3 -m twine upload dist/*

TODO

  • 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

About

utilty to easly manage git subtrees


Languages

Language:Python 100.0%