Skip to content

Instantly share code, notes, and snippets.

@vls
Created October 8, 2011 06: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 vls/1271927 to your computer and use it in GitHub Desktop.
Save vls/1271927 to your computer and use it in GitHub Desktop.
checkout from git. The destination directory will NOT be under source control
git archive --format=tar HEAD | (cd ~/beta/web && tar xf -)
git archive --format=tar HEAD | ssh app08.gz "(cd ~/beta/qn_fd_system && tar xf -)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment