I have the following setup: One git repo (lets call it "libutil"), and a lot of projects using said libutil as a git submodule.
What I want:
- to be able to change, commit and push my libutil from every project folder
- to have (physically, not just a symlink or sth.) said libutil inside every project folder
- not to have the whole history of libutil inside every project folder
I want to tell git that it should only keep a "working copy" of libutil for every project, not store the whole libutil-history dozens of times. One the other hand, those working copies should remain valid git repos, so I'm still able to switch to arbitrary commits when needed (by fetching them from the server).
Now is this possible? And how do I set it up?