Skip to content

Instantly share code, notes, and snippets.

@thurloat
Forked from kastner/gist:277816
Created February 6, 2010 20:06
Show Gist options
  • Save thurloat/296934 to your computer and use it in GitHub Desktop.
Save thurloat/296934 to your computer and use it in GitHub Desktop.
h1. Git for deployment
Pros:
* instant (atomic?) switching
* diffs between versions are concise and can include commits
* VERY little space
* pre and post-update hooks allow you to reject pushes that may overwrite un-commited data
Cons:
* doing work is harder (like pre-compiling smarty tpls)
* a good deployment process takes a lot of time to set up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment