Skip to main content
Paradime keeps your default branch (usually main or master) read-only in the Code IDE, so nobody commits to production by mistake. To change your dbt™ project, create a branch and open a pull request to merge it into the default branch.
Never develop directly against your default branch. Make every change on a branch, so you can open a pull request and have it reviewed before it merges.
The default branch is read-only in both Git Lite and Git Advanced. When you’re on it in Git Lite:
  • The branch picker adds (read-only) to the branch name, for example main (read-only).
  • The panel shows You’re on a read-only branch and asks you to switch to or create a branch.
  • When you try to type in a file, the editor tells you that the default branch is read-only.

Create a branch from a read-only file

1

Click Create a branch

Try to type in any file. In the message that shows, click Create a branch.
2

Name the branch

A dialog named after your default branch opens, for example Create branch from main. Enter a Branch Name without spaces, then click Create branch.Git Lite creates the branch from the latest version of the default branch on the remote, switches to it, and pushes it to the remote. The file is now editable.
You can also create a branch from the branch picker in Git Lite. See Use Git Lite.

Choose the read-only branch

The read-only branch is your repository’s default branch. An admin can choose a different branch in Settings > Git Repository > Default git branch. Git Lite then treats that branch as read-only and creates new branches from it.

Next steps

Use Git Lite

Create branches, ship changes, and open pull requests.

Protect the main branch on GitHub

Block direct commits to main in your Git provider too.