On 2015-03-19 12:40, Lenz Weber 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) > >
Very simple solution, I feel really stupid for not having though of that before. How safe is it do change this to (git pull --rebase && git push) & so that it runs in background? (I'd like my terminal back right away, instead of having to wait for the pull/push to complete). Are there chances of me breaking stuff it I run `pass` before the background process finishes? > 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 -- Hugo Osvaldo Barrera A: Because we read from top to bottom, left to right. Q: Why should I start my reply below the quoted text?
signature.asc
Description: PGP signature
_______________________________________________ Password-Store mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/password-store
