简体   繁体   中英

Should Patches have own branch in git workflow?

I am reading here about git branching strategie. Where to assign patches? should patches have their own branch? If yes where should patches branched from? from master branch?

If by "patches" you mean hotfixes to production, then yes, each one should be on its own branch named hotfix/xxx, where "xxx" is something that describes the hotfix. These branches should be branched off of master, and when ready should be merged into both master and develop.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM