Tech Bits Daily
This blog is a collection of technical stuff that i find everyday.
Search This Blog
Thursday, December 8, 2011
How to do a “git export” From Command Line
git archive
git archive master | tar -x -C /somewhere/else
If you want a compressed archive .
git archive master | bzip2 >source-tree.tar.bz2
ZIP archive
git archive --format zip --output /full/path/to/zipfile.zip master
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment