● Chapter 2 · 0 of 7 done
Branching
Branches, switching, merging and .gitignore.
Start chapter 2 →- Your first branchBuild a feature without touching main.
- Move between branchesSee which branches exist and hop between them.
- You'll see this elsewhere: checkoutThe older command for switching and creating branches.
- Started on the wrong branchMove uncommitted work off main without losing it.
- Merge a finished branchBring finished work into main, then tidy up.
- When both sides movedCreate a merge commit and read it in the history graph.
- Keep junk out of gitWrite .gitignore patterns for logs and build output.