Contents
Can I have multiple projects in one repository?
Git commits (and hence tags and branches) basically store the state of a directory and its subdirectories and Git has no idea whether these are parts of the same or different projects so really there is no problem for git storing different projects in the same repository.
Share a project on GitHub You can add a remote GitHub repository for a project you are developing locally, so that others can view it or contribute to it. Open the project you want to share. From the main menu, choose Git | GitHub | Share Project on GitHub.
Get a Grid! Git enables you to make one repository a subdirectory of another repository, creating a single working tree for the entire project, so that a repository can utilize code from another repository. As for many other teams, this solution did not last for us.
How to manage multiple Git repositories in Android?
Pull in Multiple Git Repositories With Repo Repo is a Google-built tool to manage multiple Git repositories. It’s designed for Android development (working on Android code requires Git). Repo makes it possible to keep up with 1,000s of Android repositories. Android is an extreme case of a project that has outgrown a single Git repository.
When to use multiple Git repositories in Perforce?
When to Use Multiple Git Repositories You should use multiple Git repositories if your codebase is too large to maintain in a single Git repository. Git can’t scale to handle 10s of thousands of users or 100s of petabytes of data in one repository. Using a monorepo works well if you use ClearCase, SVN, or Perforce Helix Core.
What is the best way to handle this with Git?
What is the best way to handle this with git (and/or some tools which use git)? If a shared code updated in one project, it should be automatically updated in another one (I don’t want to have a situation when a developer forgot to do something and end up having outdate version of shared code).