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

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

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

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -