update git
This commit is contained in:
parent
1d1b1f10af
commit
7f732c5b19
1 changed files with 13 additions and 0 deletions
|
@ -82,6 +82,19 @@ git commit -m "message"
|
|||
git commit -s -m "message"
|
||||
```
|
||||
|
||||
See commit changes:
|
||||
```shell
|
||||
git show commit
|
||||
# See only changed filenames or status
|
||||
git show --name-only commit
|
||||
git show --name-status commit
|
||||
# Show commit statistics
|
||||
git show --stat commit
|
||||
# Show patch of commit
|
||||
git show -p commit
|
||||
git show --patch commit
|
||||
```
|
||||
|
||||
Revert changes:
|
||||
```shell
|
||||
git revert <commit>
|
||||
|
|
Loading…
Reference in a new issue