// you can use pretty option with two formatting choices: // 1. Basic formatter in PF enum such email, oneline and etc. // 2. Custom formatter which use tformat and placeholders in PP. var git = Git(); git.log.prettyOpt(PF.oneline).exec(); // ‘git log –pretty=oneline’ // ‘git log –pretty=tformat:commit %H’ print(git.log.prettyOpt(‘commit ${PP.commitHash.string}’));
You can see feature implementation todo in repository projects