Is there a faster way to git-svn clone a wordpress plugin from the subversion repository?

Yep, you can pass the initial revision from which to start scanning:

git svn clone -s -r387893 http://plugins.svn.wordpress.org/your-plugin/

You can hunt down that revision by using this command:

svn log http://plugins.svn.wordpress.org/your-plugin/

The last line shows the earliest revision.

Source:

http://teleogistic.net/2011/05/revisiting-git-github-and-the-wordpress-org-plugin-repository/

Leave a Comment