mirror of
https://codeberg.org/Mo8it/How_To_Linux.git
synced 2024-11-21 14:48:02 +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:
commit
98cfbeaf60
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue