Git Lite
Git Lite simplifies version control for dbt™ projects. It provides a purpose-built Git workflow that keeps you in sync with your main branch, perfect for users new to Git or those who prefer a streamlined interface.
Branch Management
Create or switch Branches
Create a new branch to start working on features or fixes without affecting the main branch.
Step-by-Step Instructions:
Click the Git icon in the left panel of the Code IDE
Select "Create Branch" from the menu
Enter your branch name (use descriptive names like "feature-user-dashboard")
Click "Create Branch" to create and switch to your new branch
Switching Branches
Move between different branches to work on various features or review changes.
Step-by-Step Instructions:
Click the Git Lite icon (🪄) in the left panel of the Code IDE
Click the branch dropdown to see available branches
Use the search bar to find your branch if you have many
Select the branch name to switch to it
Working with Changes
Keeping Branches Updated
Git Lite automatically checks if your branch is behind your remote branch and/or your main/master branch. This check happens:
After each commit you make
When you click the refresh button manually
When you switch between branches
Step-by-Step Instructions:
Click the Git icon in the left panel of the Code IDE
Click the refresh icon in the status section
Committing Changes
When you have file changes you want to commit, follow these instructions.
Step-by-Step Instructions:
Click the Git icon in the left panel of the Code IDE
Review your changed files shown in the panel
Enter a clear commit message describing what you changed
Click "Commit and Push" to save and upload your changes
How it works
Git Lite automatically:
Commits your changes with the provided message
Pushes changes to your remote branch
Pulls and merges remote changes if your branch is behind
Keeps you in sync without manual intervention
Open Pull Request
Create a pull request to propose merging your changes into the main branch.
Step-by-Step Instructions:
Click the Git icon in the left panel of the Code IDE
Ensure all changes are committed by clicking "Commit and Push" first
Click "Open Pull Request" (only enabled when branch is clean)
Complete the pull request in your Git provider interface

Reverting Commits
Undo your last commit if you need to fix something or made an error.
Step-by-Step Instructions:
Click the Git icon in the left panel of the Code IDE
Click "Revert Commit" in the top right corner of the Git Lite panel
Review the commit details shown in the dialog
Click "Continue" to revert the last commit
You will see in the dialog the commit details include the commit message, click on continue
to complete the operation.

Merge Conflicts
When merge conflicts occur, Git Lite provides tools to help you resolve them easily.
Last updated
Was this helpful?