Difference between revisions of "password-store clone failsauce"
From thelinuxwiki
(→clone existing password store) |
|||
Line 1: | Line 1: | ||
+ | password-store | ||
+ | '''goal:''' migrate password store from on computer to another. | ||
+ | '''steps:''' | ||
+ | #migrate gpg private key | ||
+ | #clone pass git repo | ||
− | |||
− | |||
− | + | ||
− | + | ==problem:== "pass git clone" command failing with error... | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
$ pass git clone user@192.168.1.1:/path/to/.password-store . | $ pass git clone user@192.168.1.1:/path/to/.password-store . | ||
+ | Error: the password store is not a git repository. Try "pass git init". | ||
+ | |||
+ | ==solution: == | ||
+ | |||
+ | |||
+ | Emil Lundberg | ||
+ | 3 years ago | ||
+ | Permalink | ||
+ | Why not clone it with plain old Git? | ||
+ | |||
+ | $ git clone user@192.168.1.1:/path/to/.password-store . | ||
+ | Cloning into '.'... | ||
+ | Password: | ||
+ | remote: Counting objects: 961, done. | ||
+ | remote: Compressing objects: 100% (760/760), done. | ||
+ | remote: Total 961 (delta 324), reused 564 (delta 191) | ||
+ | Receiving objects: 100% (961/961), 204.06 KiB | 0 bytes/s, done. | ||
+ | Resolving deltas: 100% (324/324), done. |
Revision as of 04:39, 23 November 2018
password-store
goal: migrate password store from on computer to another. steps:
- migrate gpg private key
- clone pass git repo
==problem:== "pass git clone" command failing with error...
$ pass git clone user@192.168.1.1:/path/to/.password-store . Error: the password store is not a git repository. Try "pass git init".
solution:
Emil Lundberg 3 years ago Permalink Why not clone it with plain old Git?
$ git clone user@192.168.1.1:/path/to/.password-store . Cloning into '.'... Password: remote: Counting objects: 961, done. remote: Compressing objects: 100% (760/760), done. remote: Total 961 (delta 324), reused 564 (delta 191) Receiving objects: 100% (961/961), 204.06 KiB | 0 bytes/s, done. Resolving deltas: 100% (324/324), done.