How do I add a new/empty Git repo to an existing password store?
olli at coderkun.de
Sun Jul 9 15:04:22 CEST 2017
On 09.07.17 14:54, Jens Tröger wrote:
> I've set up my local password store to be a Git repo and added several
> passwords over the past few days. Now I've got the URL of a remote
> repo, new and empty, which I'd like to use. How do I set that up?
> Might be nice to add that example to the man page...
You need to add the URL as a “remote” in git:
$ git remote add origin https://your-repo-url
Then you can push and track your (master) branch to the remote:
$ git push -u origin master
More information about the Password-Store