git - is there a way to get only required files in the working directory
- by spoonboy
I'm new to git and trying to use it with a project that has many (several hundreds) sources.
The problem I have is that git is extracting all the project's sources to my working directory when doing checkout. This makes a lot of mess as I have to jump between the files and can unintentionally change/corrupt files that I wasn't even planning to change. I would prefer to extract only sources that I'm going to modify and then work with them.
So, is there a way to tell git that I only going to work with specific sources, and so, that only these sources would be extracted to the working directory?
Note, that this is not a partial checkout or something like this. I'm ok to checkout the whole branch. It's more about organising a working folder.
Thanks.