Hasty Briefsbeta

  • #repository-management
  • #git
  • #version-control
  • The author proposes nesting Git repositories directly inside each other without using git-submodule.
  • A personal scenario is described where multiple class repositories (e.g., cs2500) need to be combined under a single 'school' repository.
  • The idea is to simplify the process by allowing nested .git directories to act as subrepositories, avoiding the complexity of managing multiple remotes.
  • The envisioned setup would merge the histories of all subrepositories, with commits to a subrepository only affecting its own .git directory.
  • Subrepositories could be moved in and out of the main repository while preserving their history.
  • The author acknowledges potential edge cases but believes this approach could reduce the overhead associated with submodules.