Skip to content

Commit

Permalink
doc: Update git.md (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis1573 committed Nov 14, 2022
1 parent 48d11a5 commit ac01835
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion command/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,8 @@ git --git-dir='<绝对地址>/.git' describe --tags HEAD # 查看本地版本信
```shell
git config format.pretty oneline #显示历史记录时,每个提交的信息只显示一行
git config color.ui true #彩色的 git 输出
git log #查看最近的提交日志
git log #查看提交日志,从最近的提交开始显示
git log --reverse #查看提交日志,从最远的提交开始显示
git log --pretty=oneline #单行显示提交日志
git log --graph --pretty=oneline --abbrev-commit
git log -num #显示第几条log(倒数)
Expand Down

0 comments on commit ac01835

Please sign in to comment.