Four types of git branch management

1. master、develop

The master and develop branches, one for release and one for development, always exist;

2. feature-*

Feathure-* Temporary functional branch, because different functions have different online times, so pull different features from develop, merge them into develop when going online, and delete them after going online;

3. release-*30

For example, release-830, a pre-release branch that went online at the end of August, is used for pre-launch testing, bug fixes, and pull creation from develop (because the latest developments are all on develop). After the test has no problems, it is merged into master and develop, and then delete release-830.

4. hotfix

Used to fix bugs in the production environment, pull and create from the master, after the test is repaired, there is no problem, merge into the master and develop, and then delete the hotfix.

Guess you like

Origin blog.csdn.net/leinminna/article/details/111351942