Switch between branches
Last modified: January 30, 2024
dbForge Studio for MySQL allows performing a number of operations with branches.
Switch branches using the Get Latest operation
Note
You can use this method when working with Git, a working folder, or a custom version control system.
To switch between branches:
- Check out the required branch
- Refresh Source Control
- Click Get Latest
Suppose your local database is synchronized with a specific branch of the remote repository, and Source Control shows No changes. To switch to another branch, first, check out the required branch. Then, return to Source Control and perform Refresh. Source Control will display the differences between your local database (matching the old branch) and the newly selected branch. Clicking Get Latest will update your local database to match the new branch.
Create a new database for your branch
Note
This applies only to the dedicated development model.
After you have created a new branch in your source control system, create a new empty database in the Studio. Then, go to Source Control, link the new database to the source control system, and specify the location of the repository folder that holds the selected branch.
Afterwards, get the latest changes from the remote repository to update your new database with the latest version from your source control.
Want to find out more?
Overview
Take a quick tour to learn all about the key benefits delivered by dbForge Studio for MySQL.
All features
Get acquainted with the rich features and capabilities of the tool in less than 5 minutes.
Request a demo
If you consider employing this tool for your business, request a demo to see it in action.