I am playing with GIT on windows. Installed msysgit (latest version) and seems everything look good. I have created bare repository on my c:/repo folder which I had clone to c:/repoclone/ with following command:
git clone git://localhost/repo
To enable git protocol I run another git-bash window with following command.
git daemon --export-all --enable=receive-pack
Cloned it correctly. Basically I want c:/repoclone/repo will be my working directory and changes I want to push at my bare repository at c:/repo. Pulling seems work fine for me but whenever trying to push data it seems keep processing without any kind of error.
Once manually break daemon command I got following error.
fatal: sha1 file '<stdout>' write error: Invalid argument
fatal: read error: Invalid argument
error: failed to push some refs to 'git://localhost/repo'
Any idea.
I am never able to find solution of above question and found that many people has same kind of issue but no proper solution. I drop idea for GIT protocol instead start using git over HTTP. http://gitblit.com is really nice solution for work over HTTP.
Hope this help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With