Added a comment: git-annex: bad url ssh://git@gitlab.com:~/gitlabname/reponame.git

This commit is contained in:
http://rfhbuk.pip.verisignlabs.com/ 2015-04-26 12:19:38 +00:00 committed by admin
parent b8ebdce288
commit 24a1ea420f

View file

@ -0,0 +1,31 @@
[[!comment format=mdwn
username="http://rfhbuk.pip.verisignlabs.com/"
nickname="rfhb"
subject="git-annex: bad url ssh://git@gitlab.com:~/gitlabname/reponame.git"
date="2015-04-26T12:19:37Z"
content="""
Adding an encrypted remote works (mind \":~/\"):
> git remote add encrypted gcrypt::ssh://git@gitlab.com:~/gitlabname/reponame.git
> git push encrypted master
gcrypt: Repository not found: ssh://git@gitlab.com:~/gitlabname/reponame.git
gcrypt: Setting up new repository
gcrypt: Remote ID is :id:abcdefghijklmnopqrst
Counting objects: 53, done.
Compressing objects: 100% (52/52), done.
Total 53 (delta 12), reused 0 (delta 0)
gcrypt: Encrypting to: --throw-keyids --default-recipient-self
gcrypt: Requesting manifest signature
...
To gcrypt::ssh://git@gitlab.com:~/gitlabname/reponame.git
* [new branch] master -> master
>
However, git-annex then fails:
> git annex sync
git-annex: bad url ssh://git@gitlab.com:~/gitlabname/reponame.git
Should the encrypted repository be configured or added in a different way? Sorry, did not find it so easy to set up.
"""]]