Using Git to sync a website
Git is an extremely powerful tool for file sharing and version control. Unfortunately it is too flexible for most uses – you need to construct a workflow for your particular usecase, and if you screw things up you may need an expert to help you recover.
I decided that Git was the right tool for maintaining nixweb.com, and ran straight into an undocumented use case. So here I describe the setup and workflow I use for the site, in the hope that it may be useful to somebody. I assume basic familiarity with Git and Ssh.
Comments Off