- Make sure that you are in the
mainbranch - Update the
readme.mdlike below
# contents
- classics.md: The classic show titles in the GitFlix collection
- quotes: A directory of files containing memorable quotes from shows.
- Stage and commit the changes with
D:
You can use this command to visualize the branches
git --no-pager log --oneline --graph --all
- Merge the changes from the
add_classicsbranch into themainbranch. You will be presented with a code editor to change the commit message. Update the message to start withE: - Save the file, and close the editor.
- From the
mainbranch visualize the branches.
git log --oneline --decorate --graph --parents- Delete the
add_classicsbranch
git branch -d add_classics