git flow - What is the normal process to fix two bug in git? -


for example, i'm in develop branch, , have fix 2 bugs,

so first git checkout -b hotfix/bug1, , fix , commit , push github , pull request , wait merge.

where should start fix bug2?

  1. in hotfix/bug1, git checkout -b hotfix/bug2, , fix , commit , push?

  2. checkout develop first , git checkout -b hotfix/bug2, , fix , commit , push?

go #2. simplify life if branch off develop.

getting master force 2 bugs reconciled merge.

also remember, 2 bug fixes might not accepted as-is, it's best develop them independently possible.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -