Back

Branching

Branches let you work on new features without touching the main code. Create a branch, do your work, then merge it back when ready.

# Create and switch to new branch
git checkout -b feature/login-page

# See all branches
git branch

# Switch between branches
git checkout main

# Merge branch into main
git merge feature/login-page

# Delete branch after merging
git branch -d feature/login-page

Roadmap