Git · Middle · Question 58 of 75

How should a hotfix for production be handled with release branches?

Explanation

Branching from the deployed tag keeps unrelated work out of the hotfix. Merging or cherry-picking it back prevents the bug from returning in the next release.

Further reading

Problem with a question

Git · Middle · question 58

Test yourself

Take the Git · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz