I have a project and it depends on a separate project I have made. It would be convenient to include it as a git submodule or similar, but I need to make a small commit to the dependency in order for the projects to work together. I can't add the commit to the git repo of the dependecy since it's only relevant for this other project. Is there a way to store a local commit to a submodule repo within the root repo? Is there something other than a submodule that could be used?
I tried making a commit in the submodule without pushing it but that just creates a commit that cannot be found when fetching from another computer.