Search code examples
jsongitgithubgit-commit

Get only the content of each commit in a json ? ( git diff json)


So I'm storring on my github all the differences I get on a json file during time ( I call an api that updates each time the json and only store the differences). To give you an idea ; It's the changes of availability, either an id is available or not. What I'm trying to do now : I want to get the content of each commit in a json file in my local machine. SO later I can loop through all the json files in sequence using nodejs or python and then generate a CSV with the data that interest me.

Thank you for your help,


Solution

  • There is a couple of Gists adding support of log2json command to git:

    References: