Skip to content

Instantly share code, notes, and snippets.

@jmoody
Last active June 24, 2023 10:13
Show Gist options
  • Select an option

  • Save jmoody/20f5a36a8846982817be to your computer and use it in GitHub Desktop.

Select an option

Save jmoody/20f5a36a8846982817be to your computer and use it in GitHub Desktop.

Revisions

  1. jmoody revised this gist Jan 8, 2016. 1 changed file with 6 additions and 3 deletions.
    9 changes: 6 additions & 3 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,13 @@
    ```
    # ~/.gitatrributes
    ### ~/.gitatrributes

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

    # ~/.gitconfi
    ### ~/.gitconfig

    ```
    [diff "plist"]
    textconv = plutil -convert xml1 -o -
    cachetextconv = true
  2. jmoody created this gist Jan 8, 2016.
    23 changes: 23 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    ```
    # ~/.gitatrributes
    *.plist diff=plist
    *.mobileprovision diff=mobileprovision
    # ~/.gitconfi
    [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 "[email protected]:"]
    insteadOf = https://github.com/
    [diff "mobileprovision"]
    textconv = xcrun security cms -D -i
    ```