Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 git cat-file 我可以查看键值存储中的对象,但我只对日志消息感兴趣。我如何过滤掉那些?
首先列出所有 git 对象 ID。然后使用git cat-file -tandgrep过滤所有提交
git cat-file -t
grep