我只是在想如何最好地使用 git log 输出与安全相关的 git 提交。
也许:
git log all --grep='security'
如果有更好的想法,我将不胜感激。
git log --pretty=format:'%h %aI | %s%d [%an]' | grep -i "security"
应该列出所有带有关键字“security”的提交。
希望这就是您要找的东西。