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

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

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