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