git 根据commit内容和指定文件搜索提交历史
2019-07-24 本文已影响0人
青山淼淼
- 搜索commit内容
git log --grep=用户注册
image.png
- 搜索文件
git log --pretty=oneline xxx/xxx/filename
image.png
git log --grep=用户注册
image.png
git log --pretty=oneline xxx/xxx/filename
image.png