Lovable Documentation home page
Search...
⌘K
Ask AI
Search...
Navigation
Core Features
Labs
Introduction
Features
Integrations
Tips & tricks
Prompt Engineering
Use Cases
Glossary
Changelog
Announcements
Status
Feature requests
Core Features
Modes
Visual Edits
Code mode
Custom Knowledge
Collaboration
Private projects
Deploy
Project analytics
Custom domain
Security
Labs
Figma to Lovable
Business Features
Single Sign-On (SSO)
Data opt-out
Personal projects
Design templates
On this page
What is Labs?
GitHub Branch Switching
Core Features
Labs
Learn about and manage early access features.
What is Labs?
These experimental features may change or be removed at any time.
You can access Labs from your
Account Setting tab
in the Lovable Editor.
GitHub Branch Switching
Select the branch to make edits to in your GitHub repository. To switch branches in GitHub through the Lovable editor:
Enter your project.
Go to Project Settings
Go to GitHub
Click the branch dropdown, and choose the branch you want to switch to.
Important Notes:
Commit or stash any uncommitted changes before switching branches
If you encounter “Branch not found” errors, pull the latest changes from the remote repository first
If you can’t switch branches, check if you have untracked files that would be overwritten
Branch switching will change all files in your workspace to match that branch
Lovable primarily syncs with your repository’s default branch (usually main)
Was this page helpful?
Yes
No
Security
Figma to Lovable
Assistant
Responses are generated using AI and may contain mistakes.