- Create a new branch called
update_classics and switch to it.
git switch -c update_classics
- While in
update_classics, replace the last title with Game of Thrones, your new classics.md should be like this
Friends
The Sopranos
Breaking Bad
I Love Lucy
Game of Thrones
- Stage the changes and commit with message starting with
F:
- Switch to
main branch
- While in
main, replace the last title with The Wire, your new classics.md should be like this
Friends
The Sopranos
Breaking Bad
I Love Lucy
The Wire
- Stage the changes and commit with message starting with `G:
- Merge the
update_classics into main
git merge update_classics
- Don’t panic!