diff --git a/src/day_3/notes.md b/src/day_3/notes.md index c3d285a..42330f2 100644 --- a/src/day_3/notes.md +++ b/src/day_3/notes.md @@ -42,6 +42,14 @@ 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`: + +```bash +git commit -m "Your commit message here" +``` + ## git log ## git diff