as per this article http://www.geekaholic.org/2012/05/peer-to-peer-collaborative-development.html i tried the following for peer-peer sharing.
On Client 1
- Clone from central repo
- Make some changes and commit
- from the parent directory of this clone - git daemon --export-all --base-path=.
On Client 2
- Clone from same central repo
- git remote add new git://machine-name/repo-name
- git fetch new
fetch/pull error - fatal: read error: Invalid argument
When i create another clone in the same Client1, and do the same steps - the fetch or pull works.
From Client 2, using IP address instead of the system name - same result
From Client 2, when i cloned from Client 1 (git clone git://machine-name/repo-name) the clone was succesful.
What could be causing the fetch error?