blob: ec1eb505a78789fe5ec162b0e2ac34c424f93610 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
I am struggling for so long time, everytime getting different errors :( :(
I digged up my backup and started from scratch. Still not working.
On the (linux) server (directory contains already files):
cd bin
git init
git annex init server
git annex direct
git annex add .
Then, on the Windows client:
$ git clone ssh://me@server/srv/data/bin bin
Cloning into 'bin'...
warning: remote HEAD refers to nonexistent ref, unable to checkout.
What's going on here?
EDIT: Of course, I would not ask if everything would work as expected. But the client repository in windows is always empty, no matter what I do (issueing git annex init, git add remote, git annex sync, ...) does not seem to help me ...
EDIT2: When I continue on the windows side (despite the warning):
cd bin
git annex init client
git annex sync
Permission denied (publickey,keyboard-interactive).
(merging origin/git-annex origin/synced/git-annex into git-annex...)
(Recording state in git...)
Remote origin does not have git-annex installed; setting annex-ignore
commit ok
pull origin Already up-to-date!
Merge made by the 'recursive' strategy.
ok
push origin To ssh://me@server/srv/data/bin
b79922f..4fe0505 git-annex -> synced/git-annex
2f6a601..02a2603 annex/direct/master -> synced/master
ok
But that's not true, git-annex is definitely installed on the server (it's just the Debian package and it resides in /usr/bin/git-annex). In any case, the client repository is still empty
|