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

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -