mirror of
https://codeberg.org/Mo8it/How_To_Linux.git
synced 2024-11-23 21:31:34 +00:00
git commit, edit1
This commit is contained in:
parent
dbf888fc6a
commit
6c863ee65e
1 changed files with 5 additions and 2 deletions
|
@ -29,11 +29,14 @@ git add --all
|
||||||
if you want to stage all changes.
|
if you want to stage all changes.
|
||||||
|
|
||||||
## git commit
|
## 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`:
|
Usage of `git commit`:
|
||||||
|
|
||||||
git commit -m "Your commit message here"
|
```bash
|
||||||
|
git commit -m "Your commit message here"
|
||||||
|
```
|
||||||
|
|
||||||
## git log
|
## git log
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue