Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got two repositories set up for a class I teach, one outward-facing with demo and example code, and one to track changes I make to the class manual. I've written the manual in LaTeX Listings package, so I can keep example code in a separate (complete) file. My first idea for keeping the code in both repositories is a symlink to a common directory, but I've been reading that symlinks are apt to cause problems with Git (only tracking the links, not what they point to). Is there any good way to do this efficiently and automatically?

share|improve this question

1 Answer 1

What about making the third repository,then submoduling it from old ones?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.