-2

Hi so this question has probably been asked before but since I am unsure of the terms to use I cannot find the answer. So I have a github repo A which contains data structure classes and is incomplete. I want to access it in repo B and repo C. Is there a way I can go about doing this so that i can keep updating repo A and testing it in repo B and C. Sorry for asking what i assume is a redundant question I am just unsure of what I am supposed to be searching and I keep finding things that are not related or I am not understanding as related.

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
turtle
  • 34
  • 6

1 Answers1

2

Check out git submodules. These are basically nested repositories so you can better manage your network/repositories/code.

The link above provides a quick output-oriented guide on how you should go about setting up submodules for a repository.

For a more beginner-friendly tutorial, check out this article instead.

Jerome Indefenzo
  • 967
  • 6
  • 25