I using:
git log --all --pretty=format:'%n{%n%d%n "commit hash": "%H",%n "author":
"%an",%n "author_email": "%ae",%n "date": "%ad",%n "message": "%f"%n}'
to get the log of all the commits with the differents branches of a github repository, what I need is to transform the output into a .json file to can use as variable in a javascript code.