Skip to content

Instantly share code, notes, and snippets.

@GaspardP
Created December 16, 2019 14:54
Show Gist options
  • Save GaspardP/6cb3470e7a0c3eb5284952373d2c15eb to your computer and use it in GitHub Desktop.
Save GaspardP/6cb3470e7a0c3eb5284952373d2c15eb to your computer and use it in GitHub Desktop.
Diff of SOPS file between two git branches
diff \
<(sops -d <(git --no-pager show origin/master:foobar.sops)) \
<(sops -d <(git --no-pager show origin/mybranch:foobar.sops))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment