
You don’t need Git to use Vibely. If you only want a copy of your code, open Manage → Settings → Git in your project and use Download codebase to get a one-time ZIP, no repository required.
Why sync your project to a repository
- Back up your code. Keep a copy outside Vibely, in an account you control.
- Collaborate with developers. Use branches, pull requests, and code review alongside building in Vibely.
- Work locally in your IDE. Clone the repository, edit and commit locally, and push. Your changes sync back into Vibely.
- Deploy outside Vibely. The repository is a normal project that installs and runs without Vibely. See Deploy elsewhere.
How Git sync works
Git sync has two layers:- A GitHub connection authorizes Vibely to work with a GitHub account or organization. You make it by installing the Vibely GitHub App on that account and choosing which repositories it can access. Connections are managed in Settings → Git, and a workspace can have more than one.
- A project repository link connects one Vibely project to one repository. When you link a project, Vibely creates a new private repository named after the project and pushes your code to it.
- Each change Vibely makes to your files is committed and pushed to the synced branch.
- Commits you push to the synced branch are pulled into your project, including deleted and renamed files.
- Vibely syncs one branch at a time. Commits on other branches don’t appear in Vibely until you merge them into the synced branch or switch the synced branch.
Sync status
The Repository connection section in Manage → Settings → Git → GitHub shows the repository, the synced branch, and one of these states:- In sync with GitHub: Vibely and GitHub are on the same commit.
- Needs a pull request: the branch moved ahead on GitHub, so Vibely couldn’t push without overwriting your commits. See When the branch has moved ahead.
- Sync broken: Vibely can no longer reach the repository, usually because it was deleted, archived, or moved to an account where the Vibely GitHub App isn’t installed.
When the branch has moved ahead
Vibely never force-pushes. If someone pushed to the synced branch and Vibely’s next commit can’t be added on top, Vibely pushes its change to a separate branch calledvibely-sync and the status changes to Needs a pull request.
To resolve it, open a pull request from vibely-sync into your synced branch on GitHub and merge it.
Commit attribution
Commits Vibely pushes are made by the Vibely GitHub App. When the GitHub connection was authorized by a GitHub user, each commit also carries aCo-authored-by line for that account, so GitHub links the commit to that person’s profile.
Disconnecting a project
When you disconnect a project, Vibely stops syncing and changes nothing else:- Your repository stays on GitHub with all its history and files.
- Your project and its code stay in Vibely. Changes you make afterwards stay in Vibely only.
Limitations
- GitHub only. GitLab and Bitbucket aren’t supported.
- New repositories only. Linking a project creates a new repository. You can’t link a project to a repository you already have.
- One repository per project. Each project links to exactly one repository.
- One branch at a time. Only commits on the synced branch come back into Vibely.
- Keep the repository where it is. Deleting or archiving the repository breaks the sync. Transferring it to another account breaks the sync unless the Vibely GitHub App is installed there too. Renaming the repository is fine; Vibely follows the new name.
FAQ
Do I need to know Git to use this?
Do I need to know Git to use this?
No. Set it up once and your code is kept in your repository. You only need Git for advanced workflows such as branching, pull requests, or CI/CD.
Do I need Git sync just to get a copy of my code?
Do I need Git sync just to get a copy of my code?
No. Use Download codebase in Manage → Settings → Git to get a ZIP file. Git sync is for ongoing two-way sync.
Does pushing to my repository update my live site?
Does pushing to my repository update my live site?
No. Pushed commits update your project in Vibely, but your live site changes only when you publish.
Is my database included in the repository?
Is my database included in the repository?
No. The repository contains your code, including the migration files that define your database structure, but never the data in your Supabase project.
Are my secrets in the repository?
Are my secrets in the repository?
No. Project secrets are stored encrypted in Vibely and pushed to your Supabase project, never written to a file in your code. For mobile projects, app signing credentials also stay out of the repository.
Can I import an existing repository into Vibely?
Can I import an existing repository into Vibely?
No. Linking a project always creates a new repository. You can add files from a GitHub repository to a message as context with Add from GitHub in the composer’s + menu.
Is my code still in Vibely after I connect?
Is my code still in Vibely after I connect?
Yes. Your project stays fully editable in Vibely. The repository is a synced copy you own, and disconnecting deletes no code on either side.
Related
Sync with GitHub
Connect GitHub and link a project.
Deploy elsewhere
Host your code outside Vibely.
Code ownership
What you own and can take with you.
Code editor
View and edit code in Vibely.