Skip to main content

GitHub Integration

Connect your GitHub account to import repositories, push your code, and create pull requests, all from within Casagbic.

Connecting GitHub

  1. Go to Settings > GitHub (or from the profile menu).
  2. Click Connect GitHub.
  3. 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:

  1. Click New Project on the dashboard.
  2. Choose Import from GitHub.
  3. Select the repository and branch you want to import.
  4. 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?

  1. Open the project workspace.
  2. Use the source management options to publish to a new GitHub repository.
  3. 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.