#How to achieve similar git structure like d.js
13 messages · Page 1 of 1 (latest)
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
✅Marked as resolved by OP
the command i used to add submodules is
git submodule add <url> <path>
i can successfully clone the submodules using git clone <url> --recurse but that doesnt solve the github issue
By not having them as submodules. It‘s just one single repository
i tried that, git just tells me it ignores the contents of the folders because they have .git folders
should i remove these?
They shouldn’t have .git folders. They should just be regular folders within one single repository. But if they were git repositories before you probably don’t want to throw away the full history in there
yeah thats kinda my issue then
can i preserve the history somehow?
As it seems the djs monorepo also only has the history of discord.js mainlib and not of the other subpackages before January 7th 2022, when the monorepo began
So mainlib was moved to subfolder, the rest of them were copied in
F