Prettify json files output on git diff.
Use git diff -U50
to increase the number of lines that git shows for each file (context).
References:
*.json diff=json |
[core] | |
attributesfile = ~/.gitattributes | |
[diff "json"] | |
textconv = python -m json.tool |
Prettify json files output on git diff.
Use git diff -U50
to increase the number of lines that git shows for each file (context).
References:
@rickyah http://lmgtfy.com/?q=python+json.tool