I have been using Subversion for a long time and now I have switched to Git.
Now I need to know how to get sub folders in my Git project?
I know sombody will make 2 projects for this but I dont need 2 projects for this. I need to clone a subfolder and not my main project.
I use github.com.
When cloning a git repository you always clone the whole repository.
If you want subfolders in your project simply create them though. As soon as you add files inside them (git only tracks files no folders -> if a folder is empty you cannot add it to your repo), they can be committed to your repository by committing the files inside.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With