From dbf888fc6ad4345fc88f965c26f23ab954eb0615 Mon Sep 17 00:00:00 2001 From: Juan Date: Wed, 16 Aug 2023 17:23:03 +0200 Subject: [PATCH] Git commit --- src/day_3/notes.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/day_3/notes.md b/src/day_3/notes.md index 2a0586a..d0abaf8 100644 --- a/src/day_3/notes.md +++ b/src/day_3/notes.md @@ -29,6 +29,11 @@ git add --all if you want to stage all changes. ## git commit +this command is used to record the changes you've made to the repository as a new commit. A commit is a snapshot of the changes you've staged (using `git add`) and is accompanied by a commit message that describes the purpose of the changes you are committing. + +Usage of `git commit`: + + git commit -m "Your commit message here" ## git log