Take the 2-minute tour ×  Is there a way to directly tar the
latest version of an SVN folder without the SVN hidden files? I
would like to create a tar archive without the SVN files. I know
you can get the latest with the SVN tracking files, but is there
a one liner that will directly send the information to an
archive?  share|improve this question I don't know about svn,
but github allows you to download .tar.gzs of a git repo. – 
Macha Nov 29 '09 at 13:54  5 Answers 5  up vote 10 down vote
accepted  The easiest way to make a copy of the latest version
of a repository without all the .svn folders is to use the svn
export command.  Here's how I would make the archive:  $ svn
export URL PATH ; tar czf exported_copy.tgz PATH  Where URL is
the URL of your svn repository and PATH is a local path suitable
for saving a copy of the exported repository. I don't know a way
to do it more directly than this. Unfortunately you do end up
with the exported copy hanging around, so you might just want to
put the whole thing