- 搜索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
本文标题:git 根据commit内容和指定文件搜索提交历史
本文链接:https://www.haomeiwen.com/subject/gsvfrctx.html
网友评论