I\'m new to git so forgive me if this is a dumb question. I have a git repository and I need to copy a particular revision of the repository to its own separate directory. T
git archive master >specificversion.tar
replace master by a commit identifier
If you want to immediately 'check it out', consider
git archive master | (cd /tmp/exportlocation && tar x)
git archive (as usual) comes with a load of other useful options
git archive