1

On gitflow. After a hotfix commit on the master branch without merge to develop, what should we do when we merge code from develop to master next time?

  1. If we direct do the merge, code will be merged, and there will be a diff between master and develop.
  2. Or we need a code review here?
Hui.Li
  • 399
  • 4
  • 18

1 Answers1

0

A hotfix is not always merges to develop (since the bug fixed might not be relevant anymore in develop which has since moved on)

As shown here, you might consider merging master to develop first, resolve any conflict, make sure everything works, then merge develop to master.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250