How to do a "git export" (like "svn export")
- by Greg Hewgill
I've been wondering whether there is a good "git export" solution that creates a copy of a tree without the .git repository directory. There are at least three methods I know of:
git clone followed by removing the .git repository directory.
git checkout-index alludes to this functionality but starts with "Just read the desired tree into the…