Subdirectory Checkouts with git repo use SVN

Written on 06 September 2016

Subdirectory Checkouts with svn is better choose rather than sparse-checkout.
For example, I want to checkout just content folder

https://github.com/TryGhost/Ghost/tree/master/content  

Just change /tree/master/ to trunk

https://github.com/TryGhost/Ghost/trunk/content  

Then simple type svn checkout

svn https://github.com/TryGhost/Ghost/trunk/content