-
I'm relatively new to Git and have been digging into it in the last few weeks. We would like to use a hierarchical approach to repos. I've looked at submodules which to me seem to be geared to referenced class libraries that are used by one or more application projects. I read articles about using subtrees and this sounded like a great idea. I'm using the latest version of this fork of Git and attempting to use the subtree approach and get "It looks like either your git installation or your Is it possible to use subtrees with this fork of Git? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, it's usually possible to use |
Beta Was this translation helpful? Give feedback.
Yes, it's usually possible to use
git subtree
in Git for Windows. The issue you're encountering is that an update togit subtree
in Git brokegit subtree
on windows and made it into Git v2.32.0 and by extension into Git for Windows 2.32.0. There is a proposed fix in #3264 and gitgitgadget#978 that's currently being discussed on the mailing list. You can test it using the installer artifact of https://github.com/git-for-windows/git/actions/runs/922160854.