I have a public Github project (library project) that I use as a library in multiple other projects of mine (project A and project B). I pulled in the library project repository as a submodule into the (private) repositories of project A and project B. While I am working on those other projects I might find the need to change or expand the library project.
How do I make it easy for me to make changes to a local checkout of the library project that get reflected immediately in my checkouts of project A and project B while working on them?
I tried replacing the library project submodule folder with a symbolic link to the local checkout of the library project repository (kinda like what npm link in the JS/NPM ecosystem does), but git, instead of following the symlink recognizes this as a typechange to the submodule folder. Which seems consistent with how Git handles symlinks, but not really useful in this case.
It seems hard links (for individual files) and bind mounts (requiring root privileges) are often suggested to similar questions on stackoverflow, but not really the solution here either.
Are there any other suggestions or recommendations for how to enable this workflow?