mikina
5/20/2013 - 7:59 PM

Git archive

Git archive

git archive master | bzip2 > ~/repo.tar.bz2

different branch

git archive v2 | bzip2 > /Volumes/Data/repo.tar.bz2



extract:

tar -jxvf repo.tar.bz2