I have a need for distributed file synchronization. So first of all, any suggestions? My idea is git since speed is an issue.
My git knowledge is pretty rudimentary though so here's what I did.
I downloaded the portable git (I'm on PC so msysgit). I placed a copy into c:\root\git and a copy into c:\root\git c:\client\git\
I created a directory c:\temp\root\content and created some files in it
c:\root\content>..\git\bin\git.exe init
c:\root\content>..\git\bin\git.exe add *
c:\root\content>..\git\bin\git.exe commit -f
c:\client>..\git\bin\git.exe clone file:///c:\root\content
This creates a content directory but it is empty! The files committed to root are not there.
Also when I do a pull command I get
C:\temp\client\content\content>c:\temp\client\git\bin\git.exe pull
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Your configuration specifies to merge the ref 'master' from the remote, but no such ref was fetched
Clearly I'm missing a concept. What's going on?