GitHub Integration
Connect your GitHub account to import repositories, push your code, and create pull requests, all from within Casagbic.
Connecting GitHub
- Go to Settings > GitHub (or from the profile menu).
- Click Connect GitHub.
- Authorize the Casagbic GitHub App on the repositories you want to access.
Once connected, you'll see your GitHub username and available installations.
Importing a repository
You can create a new Casagbic project from an existing GitHub repository:
- Click New Project on the dashboard.
- Choose Import from GitHub.
- Select the repository and branch you want to import.
- The code is pulled into a new project workspace.
From there, you can use the AI to add features, fix bugs, or refactor, just like any other project.
Publishing to GitHub
Have a project built in Casagbic that you want on GitHub?
- Open the project workspace.
- Use the source management options to publish to a new GitHub repository.
- Choose the repository name, visibility (public or private), and description.
Pushing and pulling changes
Once a project is connected to a GitHub repository:
- Pull: sync the latest changes from GitHub into your Casagbic project.
- Push: send your Casagbic project changes to a branch on GitHub.
- Create PR: open a pull request from your pushed branch.
Disconnecting GitHub
Go to Settings > GitHub and click Disconnect. This removes the connection but doesn't delete any code from GitHub or your Casagbic projects.
note
GitHub integration is per-user, not per-workspace. Each team member connects their own GitHub account.