美文网首页git
git 根据commit内容和指定文件搜索提交历史

git 根据commit内容和指定文件搜索提交历史

作者: 青山淼淼 | 来源:发表于2019-07-24 19:25 被阅读0次
    • 搜索commit内容
    git log --grep=用户注册
    
    image.png
    • 搜索文件
    git log  --pretty=oneline xxx/xxx/filename
    
    image.png

    相关文章

      网友评论

        本文标题:git 根据commit内容和指定文件搜索提交历史

        本文链接:https://www.haomeiwen.com/subject/gsvfrctx.html