Home > Back-end >  Is it possible to have a repository inside another on GitHub?
Is it possible to have a repository inside another on GitHub?

Time:09-27

I have this problem that has been bothering me for days about my workflow. I freelance on Fiverr and I have a small problem syncing all my different projects I develop for clients between my PCs. To have a better idea of what I am talking about this is my file hierarchy

I know I can just initialize a git repo inside the base folder named "Fiverr" but that means whenever I change something to one project and I want to push it to the repo, I will push all the projects. I wanted to have a repo in every project's folder but my GitHub's "Repository" tab will be full of the Fiverr projects. The ideal thing for me would be to keep the same file hierarchy (I have shown you in the picture) for the GitHub as I have it locally, and have a .git file in every project's folder make each one independent of one another.

Thank you in advance!

CodePudding user response:

As phd mentioned, I got it working the way I wanted by creating an organization. Full credits to him.

  • Related