From 6c863ee65e68d7875c2a592c459413e12aa56803 Mon Sep 17 00:00:00 2001 From: Juan Date: Thu, 17 Aug 2023 11:07:59 +0200 Subject: [PATCH] git commit, edit1 --- src/day_3/notes.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/day_3/notes.md b/src/day_3/notes.md index d0abaf8..470a515 100644 --- a/src/day_3/notes.md +++ b/src/day_3/notes.md @@ -29,11 +29,14 @@ 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. + +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" +```bash +git commit -m "Your commit message here" +``` ## git log