Skip to content

Instantly share code, notes, and snippets.

@myersg86
Created May 4, 2017 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save myersg86/a05ed7c8f0fadacaa2506bf775a41f7e to your computer and use it in GitHub Desktop.
Save myersg86/a05ed7c8f0fadacaa2506bf775a41f7e to your computer and use it in GitHub Desktop.
#!/bin/sh
git --work-tree=/home/webuser/deploy-folder/ --git-dir=/home/webuser/project.git/ checkout -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment