09.设置别名
git log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short通过配置文件设定别名
[user]
name = aku
email = aku@example.com
[core]
editor = code --wait
[alias]
hist = "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short"
ci = commit
st = status$ git hist
* d7f681f 2023-05-05 | Added abc to the test.txt (HEAD -> master) [aku]
* 01b8702 2023-05-05 | Add first file [aku]通过命令设定
Last updated