[pass] pass git pull before every commit

Mikhail Gorbulev alcazoid at gmail.com
Thu Apr 2 13:48:33 CEST 2015


Thanks, guys. That's quite a good solution.

M.

On Thu, Mar 19, 2015 at 12:40 PM, Lenz Weber <mail at lenzw.de> wrote:

> this is a simple post-commit hook that has been recommended here from
> time to time:
>
> git pull --rebase
> git push
>
> (in ~/.password-store/.git/hooks/post-commit - don't forget to chmod +x)
>
>
> On 19.03.2015 10:58, Mikhail Gorbulev wrote:
> > Hi,
> >
> > is there any way to set add a hook to pass to (optionally?) make "pass
> > git pull" before every "pass git commit" and "pass git push" after? This
> > could be handy in order to always have password synchronized via git.
> > Of course it might cause problems with merging, but I think it might be
> > solved via standart git mergin mechanism.
> >
> > Thanks,
> > M.
> > _______________________________________________
> > Password-Store mailing list
> > Password-Store at lists.zx2c4.com
> > http://lists.zx2c4.com/mailman/listinfo/password-store
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/password-store
>



-- 
Best wishes, me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20150402/a0d69e8d/attachment.html>


More information about the Password-Store mailing list