In case you don't need to use pass on the server: have you tried cloning the server repo after pushing to it?
On Wed, 14 Oct 2015 18:35 Chris Warrick <[email protected]> wrote: > On 14 October 2015 at 18:27, Eregus <[email protected]> wrote: > > On 2015-10-14 18:03, Chris Warrick wrote: > >> > >> On 14 October 2015 at 17:59, Eregus <[email protected]> wrote: > >> > >>> On server: > >>> eregus@myserver:~$ rm -rf pass-store/ > >>> eregus@myserver:~$ mkdir pass-store > >>> eregus@myserver:~$ cd pass-store/ > >>> eregus@myserver:~/pass-store$ git init > >>> Initialized empty Git repository in /home/eregus/pass-store/.git/ > >>> eregus@myserver:~/pass-store$ git config --local > >>> receive.denyCurrentBranch > >>> "ignore" > >> > >> > >> The git misfeature you want to use is: > >> > >> git config receive.denyCurrentBranch updateInstead > >> > > Is it possible to do it while having older version of git (1.9.1 - > there's > > no updateInstead option in this version)? I'm not the admin so updating > git > > is not that easy. > > > > _______________________________________________ > > Password-Store mailing list > > [email protected] > > http://lists.zx2c4.com/mailman/listinfo/password-store > > Then you need to try scenario 2: > > 1. two repos on your server, one is bare and the other isn’t > 2. the non-bare repo is set up in ~/.password-store (the usual > location for pass) and has the bare repo as its origin remote (using > just $HOME/pass-store as the remote address) > 3. the bare repo has a post-receive hook > (~/pass-store/hooks/post-receive), which is a bash script that calls > pass git pull origin master and updates the server password store > appropriately > > -- > Chris Warrick <https://chriswarrick.com/> > PGP: 5EAAEA16 > _______________________________________________ > 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
