Master professional branching workflows used by development teams. Learn Git Flow, GitHub Flow, and best practices for managing releases and hotfixes.
Create a repository simulating a real application ready for advanced workflows.
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"
We're creating a repository that represents a production application. The main branch will represent our production-ready code.
You have a repository with main branch containing initial production code.