git log 可以查看当前分支的提交记录
git log --oneline 可以将git log 查看的记录从多行变为一行
git log -n2 查看当前分支最近的两个提交记录
git log -all 查看所有分支的记录
git log --graph 通过图形查看提交记录