DEV Community

Discussion on: Simplify your monorepo with npm 7 workspaces

Collapse
limal profile image
Łukasz Wolnik Author • Edited on

Hi Amos,

I think the reason why you can't push all of them is because Create React App is initialising a Git repository inside each of your apps.

Simply remove a .git folder inside the apps and you should be able to have a single repo for all apps.

cd apps/app1
rm -rf .git
Enter fullscreen mode Exit fullscreen mode
Collapse
amos80m profile image
Amos Megidish

Working!, I will need to see how can I manage this with react native apps. you helped me a lot with the start - Thx