Tuesday 15 April 2014

git log with line break when exported to text file -



git log with line break when exported to text file -

how add together line break custom git log?

git log --pretty=tformat:"%ai %s" > log.log

i want line break after %s

you can utilize %n new line:

git log --pretty=tformat:"%ai %s%n" > log.log

git line-breaks

No comments:

Post a Comment