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.
Grgit.open(dir: repoDir).log { range 'origin/develop', branch maxCommits: num }
我可以添加一些参数来获取提交正文吗?
取决于你说的身体是什么意思。log 方法返回所有具有和属性的Commit对象列表shortMessagefullMessage
shortMessage
fullMessage