I'm running this command to append output text data to a markdown file:
git log -1 --oneline --skip=1 | tee -a page1.md
For the most part functionality is great, but I need to format the output so its readable. Right now, the command above is appending the markdown file like so:
Append1 Append2 Append3
I need it to be formatted as such:
Append1
Append2
Append3
With each time the command being run, a new line is created and populated with the git log
information.
thank you for any guidance on the matter.
git log -1 --oneline --skip=1 | tee -a page1.md | tr " " "\n"
?git log -1 --oneline --skip=1 >> page1.md
?