From 9d7ac6647c296ccca8d648f76af4622f8d6190ae Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 17 Aug 2023 11:23:45 +0200 Subject: [PATCH 1/3] added git checkout --- src/day_3/notes.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/day_3/notes.md b/src/day_3/notes.md index 2a0586a..900f046 100644 --- a/src/day_3/notes.md +++ b/src/day_3/notes.md @@ -38,6 +38,22 @@ if you want to stage all changes. ## git checkout +This command enables you to switch to another branch or to a previous 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 From 11a9e65a43f9241d12a38a0cf4d9be1f253cb1b6 Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 17 Aug 2023 11:53:15 +0200 Subject: [PATCH 2/3] fixed description --- src/day_3/notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/day_3/notes.md b/src/day_3/notes.md index 900f046..0060f7e 100644 --- a/src/day_3/notes.md +++ b/src/day_3/notes.md @@ -38,7 +38,7 @@ if you want to stage all changes. ## git checkout -This command enables you to switch to another branch or to a previous commit. +This command enables you to switch to another branch or to a another commit. Examples are: From 697d211a76fb5b2a491fede0f3b6dfd91bad4dc9 Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 17 Aug 2023 12:14:35 +0200 Subject: [PATCH 3/3] removed the extra a --- src/day_3/notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/day_3/notes.md b/src/day_3/notes.md index 0060f7e..de7f6c3 100644 --- a/src/day_3/notes.md +++ b/src/day_3/notes.md @@ -38,7 +38,7 @@ if you want to stage all changes. ## git checkout -This command enables you to switch to another branch or to a another commit. +This command enables you to switch to another branch or to another commit. Examples are: