Lovable Documentation home page
English
Search...
⌘K
Search...
Navigation
Labs
Introduction
Features
Integrations
Tips & tricks
Prompt Engineering
Use Cases
Glossary
Changelog
Announcements
Status
Feature requests
Modes
Visual Edits
Code mode
Custom Knowledge
Collaboration
Deploy
Project analytics
Custom domain
Security
Labs
Launched
Figma to Lovable
On this page
What is Labs?
GitHub Branch Switching
Important Notes:
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)
Security
Launched
Assistant
Responses are generated using AI and may contain mistakes.