Steps to clone a single directory of a GitHub repository:
- Copy the directory URL.
https://github.com/RakeshPotnuru/Blog/tree/main/config
- Replace
tree/<branch>
with `trunk.
https://github.com/RakeshPotnuru/Blog/trunk/config
- Use this command to clone that directory. (Make sure you have
svn
installed.)
svn checkout https://github.com/RakeshPotnuru/Blog/trunk/config