summaryrefslogtreecommitdiff
path: root/doc/todo/Add_gitlab.com_as_cloud_provider/comment_3_9d60cfa947c5ce82c69fb77961db2d25._comment
blob: 40b49f875ada03cca9dae38f1f18d1306988fd71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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. 

"""]]