Git Log Multiline Output

Viewed 106

I'm trying to get git log to output the full commit message in a multi-line format or with placeholder characters so that I can replace them later.

I would like the output including the id, author, date and multi-line message of the commit to be in a xml or json format.

I am using batch, since i want to run the snippet on VisualStudio prebuild.

Thanks in advance!

1 Answers
git show -10 --pretty=format:"%h|%an|%aI|%B" -s
Related