Skip to content

Instantly share code, notes, and snippets.

@nad2000
Last active August 29, 2015 14:25
Show Gist options
  • Save nad2000/571ffe63fdc20054fd50 to your computer and use it in GitHub Desktop.
Save nad2000/571ffe63fdc20054fd50 to your computer and use it in GitHub Desktop.
How to download a sub-directory from a remote GIT repo
# git archive --remote REPO BRANCH SUBDIR | tar xf -
git archive --remote ssh://[email protected]:7999/ap/appliance.git develop ./tree/customer/endace/tests/injab0x-test | tar tvf -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment