u/itdoesntmatter690

Lovable Git Branches

Hi all,

I just wanted to ask if anyone’s done this successfully in their projects, I currently build my main projects on lovable for most UI tweaks etc, most code was done through codex cli and some Claude inputs, it’s all kept on my main GitHub repo. Database is hosted on supabase, auth is with clerk.

My question is, I have one app that is now live and in beta stage, I want to have a dev branch and a main branch for obvious reasons, dev branch to work on upcoming features before they’re safe, working and ready to push into the main branch. Now, I want to get this setup correctly but I’ve never been to handsy with git, could anyone work me through how I can get a dev branch working so that I could see all of my dev edits etc live on lovable, but only push the changes to the main branch once they’re verified ready?

I know and understand id need to copy the DB and input separate API keys to fully test the dev stage, but any hand holding would be appreciated to ensure I do this right, I just don’t want to mess about with the main app whilst I work on other things in the background for future updates!

Many thanks!

reddit.com
u/itdoesntmatter690 — 16 hours ago