0

My directory structure looks like this:

/School
    /Freshman
        /Class
        /Class
        /Class
        ...
    /Sophomore
        /AI
            /SearchAlgorithms
        /Class
        /Class
        ...

School is a GitHub repo that I use for myself so that I can access all of my files from multiple computers/virtual machines. SearchAlgorithms is another repo I created for my AI class because I have to work on a coding project with someone else in my class. I successfully shared the SearchAlgorithms repo with him and I have no issues. However the files in that repo are not 'visible' to my School repo, and whenever I make a commit in SearchAlgorithms a modified "file" shows up in my School repo that looks like this:

enter image description here

I use SourceTree for repo management, but trying to use the command line instead didn't change anything.

How do I make the files inside of SearchAlgorithms visible and available to School? I don't particularly want to have to clone SearchAlgorithms to every computer I work on, and just rely on my laptop to do pushes for that repo.

elkshadow5
  • 183
  • 1
  • 3
  • 16
  • Possible duplicate of [How do you merge two Git repositories?](https://stackoverflow.com/questions/1425892/how-do-you-merge-two-git-repositories) – phd Jan 28 '19 at 04:41
  • https://stackoverflow.com/search?q=%5Bgit%5D+make+one+repository+subdirectory+another – phd Jan 28 '19 at 04:41

0 Answers0