File: Windows_usage_instructions.mdwn

package info (click to toggle)
git-annex 5.20141125
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 37,828 kB
  • ctags: 583
  • sloc: haskell: 42,582; sh: 1,080; ansic: 498; makefile: 316; perl: 125
file content (25 lines) | stat: -rw-r--r-- 861 bytes parent folder | download | duplicates (11)
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
Having a spot of bother in setting up for windows usage.

I'm attempting to have a windows box syncing to a server (over ssh) and a linux box also syncing against that*

So, on each machine I do

 git init
 git annex init


On the windows and linux desktops I then do a 
 
 git remote add server serverdetails.

Now the problem is that if I don't add files to the repos on the machines, they won't sync as there is no branch checked out; and if I do then the first one is fine but the second will fail as it doesn't allow fast-forwards. What am I doing wrong? I've tried making the server repo bare / not bare.

I'm using the latest nightly windows build, and a build from git from today (29d5bb94b4512cfe3072c9ff840cb0ce9f2af744)







*Actually I'm trying to do something a little more complex than that, but this is the simplest version I can come up with.