There is no exact svn export
equivalent command for git? Really?
Beware: this is not a duplicate question. That is, I already know and have
At some hostings like GitHub you can make exact svn export
.
Example:
svn export https://github.com/GNOME/banshee/branches/master
Even partial! (some subpart of the repository)
Example:
svn export https://github.com/liferay/liferay-portal/branches/6.1.x/tools
For your own repository you should create some GitHub repository and add it as a remote:
git remote add github https://github.com//.git
then
git push github
Now you able to do a partial checkout as above.