[pass] Multiple git repos in single tree

Emil Lundberg lundberg.emil at gmail.com
Mon May 9 18:40:15 CEST 2016


> > 2. git adds and commits have to take place in the right repo.
>

This should be easily doable, assuming git>=1.8.2 (if memory serves).
Something like this (completely untested):

    git -C "$(dirname \"$passfile\")" add "$passfile"

Since git already does the walking up to the nearest working directory
ancestor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20160509/0756b38f/attachment.html>


More information about the Password-Store mailing list