Skip to content

Instantly share code, notes, and snippets.

@jayrhynas
Created October 26, 2018 18:45
Show Gist options
  • Save jayrhynas/65bdf9698781c6547946440723be077e to your computer and use it in GitHub Desktop.
Save jayrhynas/65bdf9698781c6547946440723be077e to your computer and use it in GitHub Desktop.
git config --global diff.json.textconv "f() { cat \"${1}\" | jq --sort-keys .; }; f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment