Connect your account
1
Authorize GitHub
Go to Settings > Integrations > GitHub and click Connect. You’ll be redirected to GitHub to authorize the Hiveku app.
2
Select a repository
Choose an existing repository or create a new one. Hiveku exports your current project files as the initial commit.
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: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
The branch you’re currently editing is also the branch the auto-commit pushes to. If you’re working on a feature branch in the editor, AI session-end commits go to that feature branch — not main.
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.