Looking for svn export git equivalent command

So apparently the answer is “no.”

Basic command:

git archive master | tar -x -C /somewhere/else

git archive master | bzip2 >source-tree.tar.bz2

Add exclude:

git archive —format=tar —prefix=myproject-${VERSION}/ ${RELEASETAG} | bzip2 -9 > ${CURRENTDIR}/myproject-${RELEASE}.tar.bz2

.gitattributes export-ignore .gitignore export-ignore

Manual bash shell copy:

cp -R /path-to-git-repo /path/to/destination/  (then remove then hidden .git, .gitattributes and .gitignore folder in the root manually)

Colourful theme by Kempstumblr.