Topic: git rebase for a branch and it one command
We on the project have a following organization of branches in a Git-repository: master \- dev \- feature-#### \- task-#### From time to time in a dev-branch we merge feature-branches operation over which we consider completed. By the same principle in feature-branches we merge task-branches. After such merges over remaining branches which are not united yet with parent, we do rebase (mandatory with an option-p) over new changes in a parent branch. It is tiresome enough and on time if the branch to which it is necessary rebase, has still child branches therefore as for each of them it is necessary to repeat rebase separately, without forgetting any branch. Basically, it is possible to implement such strategy rebase in a semi-automatic mode by means of scripts, but it seems that it will be a bicycle of unchecked quality. Some time ago at me it turned out to write a Python-script installed in a git-directory, but and I up to the end am not assured of its stability + I do not want to drag it with myself, no less than itself Python. I think, it would be possible even to implement somehow an idea by means of more or less simple script on bash (git-rev-parse, git-rev-list, git-merge-base), and almost in it to register, but also here it is not assured. For example, what to do if one of child branches it is impossible to unite automatically. Whether there are already ready tools for Git, able to transfer branches together with all their child branches?