Skip to content

Instantly share code, notes, and snippets.

@jbonney
Created September 13, 2013 15:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbonney/6552055 to your computer and use it in GitHub Desktop.
Save jbonney/6552055 to your computer and use it in GitHub Desktop.
Create archive from git repository without git history information. From http://stackoverflow.com/questions/160608/how-to-do-a-git-export-like-svn-export
git archive master | bzip2 > source-tree.tar.bz2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment