Bird
0
0

Given the commands below, what is the final branch after finishing a release?

medium📝 Command Output Q13 of 15
Git - Collaboration Workflows
Given the commands below, what is the final branch after finishing a release?
git flow release start 1.0.0
git flow release finish 1.0.0
AThe branch is switched to <code>master</code>.
BThe branch is switched to <code>develop</code>.
CThe branch remains on <code>release/1.0.0</code>.
DThe branch is switched to <code>feature/1.0.0</code>.
Step-by-Step Solution
Solution:
  1. Step 1: Understand what 'git flow release finish' does

    This command merges the release branch into both master and develop, tags the release, and deletes the release branch.
  2. Step 2: Identify the branch after finishing release

    After finishing, Gitflow switches to master branch by default.
  3. Final Answer:

    The branch is switched to master. -> Option A
  4. Quick Check:

    Release finish switches to master [OK]
Quick Trick: Release finish merges and switches to master [OK]
Common Mistakes:
  • Assuming branch stays on release
  • Thinking it switches to develop
  • Confusing feature branches with release

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Git Quizzes