Skip to content

Instantly share code, notes, and snippets.

@RyanNutt
Created September 24, 2015 23:41
Show Gist options
  • Save RyanNutt/1c116b5f18ea986cfd7a to your computer and use it in GitHub Desktop.
Save RyanNutt/1c116b5f18ea986cfd7a to your computer and use it in GitHub Desktop.
Git command to export a repository into a zip file with prefix. Can use this to create zip files from GitLab archives maybe???
git archive --format=zip --prefix=foldername/ > zipfile.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment