diff --git a/src/day_3/notes.md b/src/day_3/notes.md index 55b9881..9516325 100644 --- a/src/day_3/notes.md +++ b/src/day_3/notes.md @@ -58,6 +58,22 @@ git commit -m "Your commit message here" ## git checkout +This command enables you to switch to another branch or to another commit. + +Examples are: + +```bash +git checkout "branchname" +``` + +or + +```bash +git checkout -b "branchname" +``` + +If you want to create a new branch and switch to it. + ## git push ## git pull