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
> [email protected]
> http://lists.zx2c4.com/mailman/listinfo/password-store
_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to