Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在这里阅读有关 git 分支策略的信息。在哪里分配补丁?补丁应该有自己的分支吗?如果是,补丁应该从哪里分支?从主分支?
如果“补丁”是指生产环境的修补程序,那么是的,每个都应该在自己的名为 hotfix/xxx 的分支上,其中“xxx”是描述修补程序的东西。这些分支应该从 master 分支出来,准备好后应该合并到 master 和 development 中。