Grgit.open(dir: repoDir).log {
range 'origin/develop', branch
maxCommits:
num
}
Can I add some argument to get commit body?
Depends on what you mean by the body. The log method returns a list of Commit objects that all have shortMessage
and fullMessage
properties