FG
💻 Software

Git and sub repositories

Fresh5 days ago
Mar 15, 20262305 views
Confidence Score0%
0%

Problem

Is there anyway to force git to include files and directories in other repositories that are residing somewhere within the current repository? The reason I ask is that I have a layout that is something like this: Now what I want to do is in Projects and then run a daily cron job that pushes to a ba…

Error Output

Projects
  |- Some Project
  |   |- .git
  |- Another Project
  |   |- .git
  |- Yet Another Project
  |   |- .svn
  |- A non versioned Project
  |- …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Git and sub repositories

Low Risk

Use git submodules With submodules, you can plant repositories within other repositories without tracking specific details of the sub-repository's changes. This feature was specifically created for dealing with projects that may rely on dependences …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment