Replies: 3 comments 4 replies
-
I am sure that I don't understand correctly. Would you provide a small script to illustrate the issue? |
Beta Was this translation helpful? Give feedback.
-
my bad, i now tried running
ty @dscho for the idea . though the question stays . Git showed a hint saying that content of the subtree won't be Cloned, so, assuming that Git intentionally doesn't store content of the subtree and in terms of avoiding external scripts, can a different Branch in repository be a target for a Submodule in the same repository, somehow ? |
Beta Was this translation helpful? Give feedback.
-
i'll also be grateful if someone can suggest adding the subtees support or relevant documentation to git, since it's repo doesn't have Issues and i assume that the git-for-windows are not adding features above linux's git . |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When im creating Commit with the parent folder, it seems that the subtrees are ignored so i need a separate script for Checkouting them when Cloning . Also Github uses Tags for releasing, which are attached to Commits .
For Github, it seems like i need to temporally remove the Worktrees, then Commit all their content and release the result . But would this duplicate the content in .git ? Considering that the most of repo consists of sub-Worktrees, thats a huge storing issue .
Git Submodules seem to each require a separate .git, so they don't appear relevant here .
Beta Was this translation helpful? Give feedback.
All reactions