I just installed git for the first time for a solo project — and now I don’t know how I lived without version control for so long. I wanted to see if maybe a GUI would be helpful, but I have a problem…
- My development machine is running windows
- The project is on a headless linux server on the LAN
- Project directories are shared through samba and mapped as network drives on the windows pc
- I am the only one using this server, so there’s no need to clone the repo to the windows pc
- If I use git through SSH none of this is a problem at all
The GUI git clients I’ve tried so far all assume I’m running git on the machine I install them on, though. If I try to operate on the linux-hosted repo with widnows-installed git, it’s (not unexpectedly) slow as molasses and seems to have compatibility issues.
Is there any way to make this work for smartgit? Or any other decent client?
I did install gitweb, which seems nice enough to look through project history, but I can’t actually ‘do’ anything with it.
EDIT: If I could maybe broaden this question and just ask for a word of advice on how to proceed, ie: suck it up and use Putty with something else for visualization, clone the repo and push/pull, or do something different like svick’s X Server suggestion.
Okay, I’ll be marking my own answer correct for clarity and not vanity, to hopefully help someone caught in a similar predicament. I hope no one will be offended.
As, a side note, after coming up with a working solution, I still ended up using SSH and a drive-mapped shared linux directory for development, but it’s useful to have a local place on the windows machine to put a working repo. GIT is just slow as molasses on windows for me no matter what, so I’ll be using it that way as little as possible — but that’s just me.
If your bash-foo is weak like mine, webmin can help with the below. So here’s what I ended up doing:
Summary:
Purpose:
Solution upside:
Solution downside:
Prerequisites:
What to do:
To further complicate what probably hardly needed any explanation here is a (simplified) diagram:
