git log with line break when exported to text file
Pjz's answer is not quite right for Windows, but with a little playing around I got it to work. The 10 and 13 characters needed to be reversed, and they needed to be in proper hex format:
git log --pretty=tformat:"%ai %s%x0D%x0A" >log.log
You can use %n
as a new line:
git log --pretty=tformat:"%ai %s%n" > log.log