153 reputation
7
bio website plastikwrap.co.uk
location Edinburgh, United Kingdom
age 29
visits member for 2 years, 8 months
seen Sep 30 at 10:33

Me


Nov
25
awarded  Nice Question
Aug
13
awarded  Popular Question
Apr
3
comment Single-developer GIT workflow (moving from straightforward FTP)
I've gone with your suggestion of editing on the server then committing from there via SSH, which I've been doing for a few days now. Seems to work really well, thanks!
Mar
27
comment Single-developer GIT workflow (moving from straightforward FTP)
Thanks, that's good to know. The inherent flexibility of Git makes it hard to work out a 'best practice' starting point - that's a strength from an experienced user's POV but arguable a weakness from a noob's!
Mar
27
awarded  Scholar
Mar
27
awarded  Editor
Mar
27
accepted Single-developer GIT workflow (moving from straightforward FTP)
Mar
27
revised Single-developer GIT workflow (moving from straightforward FTP)
added 1074 characters in body
Mar
27
comment Single-developer GIT workflow (moving from straightforward FTP)
So am I understanding correctly - there are two servers (1) for Git, (2) live webserver, and one local development machine. Dev is done locally then pushed to the Git server which has a hook for updating the live server?
Mar
27
awarded  Supporter
Mar
27
comment Single-developer GIT workflow (moving from straightforward FTP)
So what tools do you use for this? FTP to make the file changes directly on the server, then an SSH session open in the background to do the commits to the Git server now and again?
Mar
27
comment Single-developer GIT workflow (moving from straightforward FTP)
Thanks for your reply! Does that mean you pull the snapshot to your local machine, make and commit changes, then do a pull request from the live server (by SSHing in)? What if the change is really small? Do you run a local web server for development? (I couldn't go through that process for simple CSS changes.. I'd go crazy!)
Mar
27
awarded  Student
Mar
27
awarded  Autobiographer
Mar
27
asked Single-developer GIT workflow (moving from straightforward FTP)