In Git, I tried peer-to-peer sharing on a local network, but ended up with the error "fatal: read error: Invalid argument".
I have completed the following steps.
PC1:
$cd /d/all-repos $git daemon --verbose --export-all –base-path=.
PC2:
$cd <repository name> $git remote add developer1 git://<PC1 name or IP address>/testrepo $git fetch developer1 fatal: read error: Invalid argument
Git version: git version 1.7.11.msysgit.0 OS: Win XP Note: Added git port port 9418 in the firewall settings on both PCs.
Tell me how to solve this.
source share