Skip to content

Instantly share code, notes, and snippets.

@twkm
twkm / Live or Staging Environment Git Remote Repo Setup.md
Last active May 8, 2018 02:19
A process to create a git remote repo for live or staging servers, automatically updating on those environments from local dev.

Setting up a web server to track a repo

A setup to allow pushing to live/staging from a local repo. This is mostly a reference that I can return to later, but maybe it will be helpful to you too!

Improvements to this process

The process could use some improvements

  • Handle conflicts automatically in the post-receive script