I am running a git repository on a remote server. I have it set up a samba share on the remote server so I can save my code there instead of on my local windows 7 machine. We are trying to look into using git, because svn has been so slow and unreliable. The problem that we are having with git is that doing any commits/clones/pulls onto the samba share run super super slow. If i do a commit/clone/pull onto a local dir on my windows 7 machine it works great, but we need the code to be on the remote server. Any ideas? I could really use it.
Edit:
I should also mention that I have already ran git gc --aggressive and it hasn't sped it up.
Git is not meant to be used in this configuration. It's like getting a Formula 1 and have it race on a dirt road.
Git is a DVCS, or distributed version control. In other words, every developer gets a clone.
What you need to do is setup a git server repository on that samba machine and access the repo via http or ssh
You can use projects like GitBlit or even better an account on Github
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