On Sat, 28 Jan 2017, 20:14 Brian Candler, <b.cand...@pobox.com> wrote:

> First you 'git log <filename>' (where filename is relative to the current
> directory) until you find what you think is the commit you want. Then since
> you've forgotten the command, you google for it. Then you run "git show
> <commit>:<filename>" (where, this time, filename is relative to the top of
> the repo), remembering to pipe it into gpg -d to decrypt it.
>

If you use gpg-agent, you can instead use `git log -p <filename>`, which
shows you the diff for each commit in the log. Git will automagically
decrypt the files before diffing.

/Emil


>
_______________________________________________
Password-Store mailing list
Password-Store@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to