On 08/09/10 20:16, Srdjan Todorovic wrote:
Ok, first, you've got to stop thinking of Git in terms of Subversion. It's not a centralised SCM.
Fair comment, although I've not really used version control at all until now so I don't have any baggage!
What you want to do is have git access over ssh, then clone your repository (initially, then pull from then on) onto your local machine. Git status should then be very fast because all the files are on your local machine.
The problem with this is that this is a web application, which means (as I understand it) I'd need to edit my files, commit them, SSH to the server, checkout the latest revision, refresh my browser, see if the change worked, repeat. A lot of messing around! I could run a webserver on my desktop, and database server, but now I need to keep databases synchronised as well...
I think the community Git book tells you how to do the ssh+git stuff, so take a look at that first. See http://book.git-scm.com/ for more info.
I agree that I definitely need to do more reading! However, I know my weaknesses and if I have to park this while I read up on it, I'll have to continue working on the code outside git while I do the research, and the whole exercise will fall by the wayside (I know this, because that's what's happened when I've tried to get into CVS and SVN before!) So for the time being, visual merges from my desktop over the Samba share will have to continue...