1
0
Fork 0
mirror of https://codeberg.org/Mo8it/How_To_Linux.git synced 2024-11-24 09:51:36 +00:00

Merge pull request 'Git commit' (#11) from Jjuan_g/dev-tools:commit into main

Reviewed-on: https://codeberg.org/mo8it/dev-tools/pulls/11
This commit is contained in:
Mo 2023-08-17 09:28:05 +00:00
commit 98cfbeaf60

View file

@ -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