From dcc8099b11b70606b7b7fe0f22137cebeaf5ab32 Mon Sep 17 00:00:00 2001 From: Hannes G Date: Wed, 16 Aug 2023 14:59:24 +0200 Subject: [PATCH] Add explanation to add-command --- 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 e30d8ff..805fc35 100644 --- a/src/day_3/notes.md +++ b/src/day_3/notes.md @@ -12,6 +12,22 @@ The participants of the course will add a description to each of these Git subco ## git add +This command stages one or more files for the next commit, adding them to everything that is committed. + +Examples are: + +~~ +git add "example.txt" +~~ + +or + +~~ +git add --all +~~ + +if you want to stage all changes. + ## git commit ## git log