Skip to content

Instantly share code, notes, and snippets.

@simonw
Last active January 11, 2025 07:19
Show Gist options
  • 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"
@winston0410
Copy link

Git 2.44 or above support HTTP protocol for git archive, so you can probably create an archive from remote directly.

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