I am working on an open-source project that uses Mercurial.
I made a git repo inside the source directory and now have about 40-odd commits.
The project released a new version of the source-code and I now wish to apply the commits I made selectively.
What I mean is, among the various directories that exist, I want to replace only the src directory while ignoring all the updated library directories (Which I have not modified in any commit anyway)
Everytime I try a git checkout -b <branch> -t <remote/branch>
I get an error saying I need to either move or remove tonnes of existing files
How can I go about doing this?