Multiple developers using Git w/ Local

Hi there,

I’m in the early phases of a new project. There are currently 3 developers, and possibly more will be involved later on. Since there are a few of us, we want to use Git to handle collaboration. We already have created the site on Flywheel, without Git set up. I pulled that site to my machine with Local, then initialized a Git repo in the theme folder and pushed that to Github. However, when I push the project with Local, the .git folder doesn’t seem to be pushed with it. So when one of my collaborators used the Push to Flywheel functionality and then I Pulled from Flywheel, the whole .git folder was wiped out.

Can anyone recommend the best way to get several collaborators set up with a Git repo, while also being able to take advantage of Local for running a local development server?

1 Like