Skip to content

Instantly share code, notes, and snippets.

@aleguerra05
Created January 20, 2020 18:02
Show Gist options
  • Save aleguerra05/dd56e3e322f32123f867e3c38beb29f6 to your computer and use it in GitHub Desktop.
Save aleguerra05/dd56e3e322f32123f867e3c38beb29f6 to your computer and use it in GitHub Desktop.
inprovments dockerfile
in git version 1.7.9.5 this seems to work to export a single file from a remote
git archive --remote=ssh://host/pathto/repo.git HEAD README.md
This will cat the contents of the file READ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment