Suppose a critical bug is found in production. Describe the steps you would follow using Gitflow to fix the issue.

  • Create a hotfix branch
  • Merge the hotfix branch into develop
  • Merge the hotfix branch into master and develop
  • Tag the release
To fix a critical bug in production using Gitflow, create a hotfix branch, make the necessary changes, merge it into both master (for the release) and develop (to ensure the fix is in future releases), and then tag the release for tracking purposes.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *