git - GITHUB - Auto Re-base of branches when commit happens on current branch -
requirement whenever commit happens on current branch sub branches or set of branches need auto re-based current branch changes.
i can have script or service activity. question regarding how/where can maintain destination branches need re-based.
one option maintaining relation of source , destination branches in config file. maintenance involved in approach, branch details need updated whenever branch added/removed.
i looking optimal solution/industry standard way of doing activity.
there isn't "industry standard" solution this, because not standard way use git.
if must reason, make command git hook (https://git-scm.com/book/gr/v2/customizing-git-git-hooks).
if want track changes make hooks, should store hook files in separate repository.
Comments
Post a Comment