Connect your account
Authorize GitHub
Go to Settings > Integrations > GitHub and click Connect. You’ll be redirected to GitHub to authorize the Hiveku app.
The source-of-truth model
When GitHub is connected to a project:- GitHub is canonical. Your repo’s main and feature branches hold the authoritative version of your code.
- The Hiveku database is a working buffer. AI edits and editor saves write to the database first, then get committed to GitHub.
- Every deploy reconciles against GitHub. Before any build runs, Hiveku checks that the database matches what’s on GitHub. Mismatches are surfaced as conflicts, not silently overwritten.
Committing changes
Three paths exist for getting your work into GitHub:- Manual commit — open the GitHub panel in the editor, write a commit message, and click Commit
- AI session end (automatic) — when an AI chat session finishes, every file the AI touched is batched into one commit, signed by
hiveku[bot], and pushed to your dev branch. Debounced ~10 seconds so back-to-back turns combine into one commit - External git — push from your laptop / VSCode / GitHub.com. Hiveku’s webhook listens for pushes and syncs them into the database
[hiveku] prefix in the commit message so you can identify them in your repo history.
Auto-deploy on push
Hiveku can automatically deploy when commits land on specific branches. Configure per-environment in Settings > Integrations > GitHub > Auto-deploy:| Toggle | What it does |
|---|---|
| Development | Auto-deploy to the dev environment when its mapped branch advances |
| Staging | Auto-deploy to staging when its mapped branch advances |
| Production | Auto-deploy to production when its mapped branch advances |
Bot commits never trigger auto-deploy. When the AI session-end commit fires, the webhook handler sees the
[hiveku] prefix and skips the auto-deploy step — otherwise every AI turn would trigger N deploys. Auto-deploy only runs for pushes made from outside Hiveku (you from VSCode, an external collaborator, a GitHub Action, etc.).Branch management
| Action | How to |
|---|---|
| Create branch | Open the branch dropdown in the editor and click New Branch |
| Switch branch | Select a branch — the editor and the project’s database snap to match |
| Delete branch | Use the trash icon in the dropdown, or delete from GitHub directly |
| Map branches to environments | In Settings > Integrations > GitHub, set which branch each environment auto-deploys from |
Pre-deploy sync
Every deploy (manual or auto-triggered) starts with an incremental sync from GitHub. This guarantees that whatever Hiveku builds is what’s currently on the connected branch. If the sync detects that both Hiveku and GitHub have modified the same file since the last sync (a true conflict), the deploy is paused and you’ll see a conflict notice listing the affected files. Resolve them in the GitHub panel, then retry the deploy.Viewing history
The History tab in the GitHub panel shows all commits with their messages, authors, and timestamps.hiveku[bot] commits are visually distinguished from your own. Click any commit to see the files that were changed.