diff options
author | 2013-09-08 15:53:31 -0400 | |
---|---|---|
committer | 2013-09-08 15:53:31 -0400 | |
commit | ab0a36425c21fd6bb54ce5312b1a507c7e8af1c1 (patch) | |
tree | be4f705f3b30e3a35eacb612aa8ef45fa29c4831 /doc/tips/fully_encrypted_git_repositories_with_gcrypt.mdwn | |
parent | 123f6dd235009cd2e8bd0619b21b20d9dbb80714 (diff) |
gcrypt urls
Diffstat (limited to 'doc/tips/fully_encrypted_git_repositories_with_gcrypt.mdwn')
-rw-r--r-- | doc/tips/fully_encrypted_git_repositories_with_gcrypt.mdwn | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/tips/fully_encrypted_git_repositories_with_gcrypt.mdwn b/doc/tips/fully_encrypted_git_repositories_with_gcrypt.mdwn index 7433258c7..567976d96 100644 --- a/doc/tips/fully_encrypted_git_repositories_with_gcrypt.mdwn +++ b/doc/tips/fully_encrypted_git_repositories_with_gcrypt.mdwn @@ -43,7 +43,7 @@ key, or another gpg key you have. To restore from the backup, just plug the drive into any machine that has the gpg key used to encrypt it, and then: - git clone /mnt/encryptedbackup restored + git clone gcrypt::/mnt/encryptedbackup restored cd restored git annex enableremote encryptedbackup gitrepo=/mnt/encryptedbackup git annex get --from encryptedbackup @@ -70,7 +70,7 @@ include their keyids, by specifying keyid= repeatedly. Now that the repo is set up, anyone who has access to it and has one of the keys used to encrypt it can check it out: - git clone ssh://my.server/home/me/encryptedrepo myrepo + git clone gcrypt::ssh://my.server/home/me/encryptedrepo myrepo cd myrepo git annex enableremote encryptedrepo gitrepo=ssh://my.server/home/me/encryptedrepo git annex get --from encryptedrepo @@ -88,6 +88,11 @@ only used to store your git repository itself. Now you can carry on using git-annex with your new repository. For example, `git annex sync` will sync with it. +To check out the repository from the hosting site, use the same gcrypt:: +url you used when setting it up: + + git clone gcrypt::ssh://hostingsite/myrepo.git + ## multiuser encrypted git remote on hosting site Suppose two users want to share an encrypted git remote. Both of you |