On 2015-10-14 17:40, Chris Warrick wrote:
On 14 October 2015 at 17:25, Eregus <[email protected]> wrote:
On 2015-10-14 16:56, Chris Warrick wrote:

If you want a backup without using `pass` on the server, you don’t
have to do anything special. Just point your phone at the same remote.


What do you mean I don't have to do anything special? When I init a non-bare
git repository and add "denyCurrentBranch = ignore" to the config, I still
don't see any passwords after "pass git push origin master".

Have you changed the remote?

pass git remote rm origin
pass git remote add origin [email protected]:path-to-your-new-repo

Yes. This is what I have done:

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"

On desktop:
eregus@desktop:~% pass git remote rm origin
eregus@desktop:~% pass git remote add origin [email protected]:pass-store
eregus@desktop:~% pass git push origin master
Counting objects: 312, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (307/307), done.
Writing objects: 100% (312/312), 93.86 KiB | 0 bytes/s, done.
Total 312 (delta 113), reused 0 (delta 0)
To [email protected]:pass-store
 * [new branch]      master -> master


_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to