Skip to main content
4 of 5
correct typo

I'd say it depends on following cases:

  1. If maintaining the main branch, the correct place is hotfix/.
  2. If maintaining the release/ branch, the correct place is bugfix/.
  3. The best case scenario (and if possible) is to maintain refactoring candidates in the feature/ branch right away.

Keep in mind that the options 1. and 2. are real world scenarios and covered by the git flow strategy because of meeting release deadlines or saving costs (or better gaining profit in time or money). So I don't see any troubles in organizing that way since git flow updates main, develop and feature/ branches in order.

Comment: If you have never expirienced case 1 or 2 then feel lucky and share good vibes with others.