Skip to content

Instantly share code, notes, and snippets.

@egermano
Created January 22, 2013 16:09
Show Gist options
  • Select an option

  • Save egermano/4595872 to your computer and use it in GitHub Desktop.

Select an option

Save egermano/4595872 to your computer and use it in GitHub Desktop.
simple git deploy
#!/bin/sh
#path to project on server
GIT_WORK_TREE=/var/www/path/to/project/ git checkout -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment