Search code examples
gitgithubgit-clonegit-checkout

Why Github repo has no "clone" option?


Well, probably so dumb question but I am not sure even how to search for it, I am pretty new to github. What I do is just watching some tutorials and I want to download the code from the link shared with the tutorials which is to this repo. I want to clone only this directory but there is no "git clone" option for that project. It is only possible for me to clone whole project which has many unrelated code. Do I have to clone whole project(maybe the tutor want me to clone them all) or is there a way to or download only that part ?


Solution

  • You can't clone a single directory. You need to clone the entire project.