dvcs - GIT GUI for solo project: Windows PC for development, but git + active, working project repo on a LAN headless linux server? -


i installed git first time solo project -- , don't know how lived without version control long. wanted see if maybe gui helpful, have problem...

  • my development machine running windows
  • the project on headless linux server on lan
  • project directories shared through samba , mapped network drives on windows pc
  • i 1 using server, there's no need clone repo windows pc
  • if use git through ssh none of problem @ all

the gui git clients i've tried far assume i'm running git on machine install them on, though. if try operate on linux-hosted repo widnows-installed git, it's (not unexpectedly) slow molasses , seems have compatibility issues.

is there way make work smartgit? or other decent client?

i did install gitweb, seems nice enough through project history, can't 'do' it.

edit: if maybe broaden question , ask word of advice on how proceed, ie: suck , use putty else visualization, clone repo , push/pull, or different svick's x server suggestion.

okay, i'll marking own answer correct clarity , not vanity, caught in similar predicament. hope no 1 offended.

as, side note, after coming working solution, still ended using ssh , drive-mapped shared linux directory development, it's useful have local place on windows machine put working repo. git slow molasses on windows me no matter what, i'll using way little possible -- that's me.

if bash-foo weak mine, webmin can below. here's ended doing:

summary:

  • web-based project (lamp stack in case)
  • solo developer
  • 1 windows pc used development
  • 1 headless linux server host stack , project

purpose:

  • set working repo locally on windows pc enable efficient use of git gui clients, etc without having make whole working stack or commit , push see hell happened. php on windows sucks (yes, yes, more usual har har), , lot of other things.

solution upside:

  • no need duplicate lamp stack on windows machine, or screw database have working local repo
  • preview changes in real-time without having commit or push

solution downside:

  • local (windows) repo functional if computer on network
  • you might see bit of network latency due loopty-loo nature of what's happening here

prerequisites:

  • static or mac based ips both windows , linux machines
  • git, bind, samba, apache (or similar) on linux box
  • ssh client (putty?), msysgit, git gui of choice (gitextensions/smartgit/gitgui) on windows box

what do:

  1. set shared directory on windows box repo
  2. mount directory on linux box
  3. point bind linux box's own ip 2 domain (eg: myproject.lin , myproject.win) -- (apologies fake tlds, use own discretion here)
  4. make linux box dns resolver either windows box or network router
  5. set 2 domain-based servers in apache (the ones above) , direct them appropriate locations (eg: '/mnt/windows-pc/myproject' , '/var/www/myproject')
  6. make sure application configuration can map relative paths obvious reasons
  7. samba-share linux repo , maybe map windows network drive convenience
  8. clone linux box's repo windows directory
  9. push changes needed linux shared project directory

to further complicate hardly needed explanation here (simplified) diagram: something pants thinks


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -