Git doesn't support this, but GitHub supports Subversion clients via the HTTPS protocol.GitHub uses a Subversion bridge to communicate svn commands to GitHub.
GitHub repositories can be accessed from both Git and Subversion (SVN) clients. This article covers using subversion to explain how to download a specific folder.
- copy the URL of the GitHub repository to your clipboard
https://github.com/<github username>/<github repo>
- Modify the URL for subversion. I want to download the folder at /src, so I will append trunk/src.
- https://github.com/<github username>/<github repo>/trunk/src
- now go to the command line and use svn checkout to download the folder
- svn checkout https://github.com/<github username>/<github repo>/trunk/src
Reference
Support for Subversion clients
How do I download a specific folder from gitHub
Comments
Post a Comment