Skip to content

Instantly share code, notes, and snippets.

@yogin
Created April 4, 2014 23:44
Show Gist options
  • Save yogin/9985254 to your computer and use it in GitHub Desktop.
Save yogin/9985254 to your computer and use it in GitHub Desktop.
get a single file from a git repo (except github)
git archive --remote=ssh://host/pathto/repo.git HEAD README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment