0
0
Gitdevops~5 mins

Gitflow workflow - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the main purpose of the Gitflow workflow?
Gitflow workflow helps teams manage feature development, releases, and bug fixes in an organized way using separate branches.
Click to reveal answer
beginner
Name the two main branches in Gitflow that always exist.
The two main branches are main (or master) for production-ready code and develop for ongoing development.
Click to reveal answer
beginner
What is the role of a feature branch in Gitflow?
A feature branch is used to develop a new feature. It branches off from develop and merges back into develop when done.
Click to reveal answer
intermediate
Explain what a release branch is used for in Gitflow.
A release branch prepares code for production. It allows final testing and fixes before merging into main and develop.
Click to reveal answer
intermediate
How does the hotfix branch work in Gitflow?
Hotfix branches fix urgent bugs in production. They branch from main, fix the issue, then merge back into both main and develop.
Click to reveal answer
Which branch do you create a feature branch from in Gitflow?
Amain
Bdevelop
Crelease
Dhotfix
What is the purpose of the release branch?
ATo develop new features
BTo store archived code
CTo fix urgent bugs in production
DTo prepare code for production with final testing
After finishing a hotfix, where should you merge the changes?
ABoth main and develop
BOnly main
COnly develop
DOnly feature branch
Which branch always contains production-ready code?
Adevelop
Bfeature
Cmain
Drelease
When do you delete a feature branch in Gitflow?
AAfter merging it into develop
BAfter merging it into main
CBefore starting work
DNever
Describe the main branches and their roles in the Gitflow workflow.
Think about which branch holds stable code and which one holds new work.
You got /4 concepts.
    Explain how feature, release, and hotfix branches work together in Gitflow.
    Consider the flow from development to production and urgent fixes.
    You got /4 concepts.