Download a single directory from a GitHub repo using Subversion

Download a single folder or directory from a GitHub repo using a subversion command: like “$svn checkout”

svnEXAMPLE:

https://github.com/facebook/docusaurus/tree/master/packages/docusaurus-1.x/examples/basics

#Modify the URL for subversion. Replace tree/master with trunk.

$ svn checkout https://github.com/facebook/docusaurus/trunk/packages/docusaurus-1.x/examples/basics

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s