Skip to content

Instantly share code, notes, and snippets.

@simonw
Last active March 26, 2024 23:21
Show Gist options
  • Star 87 You must be signed in to star a gist
  • Fork 10 You must be signed in to fork a gist
  • Save simonw/a44af92b4b255981161eacc304417368 to your computer and use it in GitHub Desktop.
Save simonw/a44af92b4b255981161eacc304417368 to your computer and use it in GitHub Desktop.
How to create a tarball of a git repository using "git archive"
@amidevous
Copy link

for subfolder not work please solve download github subfolder project

example

wget https://github.com/User/repo/archive/master/folder.tar.gz

not work return 404 error please solve or propose solution for work

download github subfolder project in tarball

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment