Skip to content

Instantly share code, notes, and snippets.

@suhailshergill
Last active December 15, 2015 02:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suhailshergill/5185210 to your computer and use it in GitHub Desktop.
Save suhailshergill/5185210 to your computer and use it in GitHub Desktop.
gpg smudge/clean filter
* filter=gpg diff=gpg
[merge]
renormalize=true
[filter "gpg"]
smudge = gpg -d -q --batch --no-tty
clean = gpg -ea -q --batch --no-tty --trust-model always -r 13DA7380
[diff "gpg"]
textconv = gpg-decrypt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment