Skip to content

Instantly share code, notes, and snippets.

@jmoody jmoody/README.md
Last active Dec 14, 2017

Embed
What would you like to do?
diffing binary plists and mobileprovisions

~/.gitatrributes

*.plist diff=plist
*.mobileprovision diff=mobileprovision

~/.gitconfig

[diff "plist"]
        textconv = plutil -convert xml1 -o -
        cachetextconv = true
[filter "plist"]
        clean = plutil -convert xml1 -o - -
        smudge = plutil -convert binary1 -o - -
[filter "plist-xml"]
        clean = plutil -convert xml1 -o - -
[filter "plist-bin"]
        clean = plutil -convert binary1 -o - -
[url "git@github.com:"]
  insteadOf = https://github.com/

[diff "mobileprovision"]
  textconv = xcrun security cms -D -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.