šŸŽ“
1 / 14

202 — Advanced Branching Strategies

Master professional branching workflows used by development teams. Learn Git Flow, GitHub Flow, and best practices for managing releases and hotfixes.

Learning Objectives

1
Understand Git Flow workflow with develop, feature, release, and hotfix branches
2
Learn GitHub Flow for simpler continuous deployment
3
Practice release management with branches
4
Handle hotfixes in production
Step 1

Set up a project repository

Create a repository simulating a real application ready for advanced workflows.

Commands to Run

mkdir -p ~/git-practice/lesson-202
cd ~/git-practice/lesson-202
git init
echo "# Production App v1.0" > README.md
echo "console.log('App v1.0');" > app.js
git add .
git commit -m "Initial release v1.0"

What This Does

We're creating a repository that represents a production application. The main branch will represent our production-ready code.

Expected Outcome

You have a repository with main branch containing initial production code.

Pro Tips

  • 1
    In real projects, main (or master) always contains production-ready code

All Steps (0 / 14 completed)