This page covers the Git panel inside the code editor. For the full GitHub connection setup, see GitHub Integration.
Connecting to GitHub
1
Authorize GitHub
Go to Settings > Integrations > GitHub and click Connect. Authorize Hiveku to access your GitHub account.
2
Select or create a repository
Choose an existing repository from the dropdown, or create a new one directly from Hiveku.
3
Export your files
Hiveku pushes your current project files to the selected repository. This initial export creates the first commit.
Committing changes
When GitHub is connected, Hiveku treats GitHub as the source of truth for your project. There are three commit paths:- Manual — click the Commit button in the GitHub panel, write a commit message, and confirm
- AI session end (automatic) — when an AI chat session finishes, any files the AI edited are batched into a single bot commit and pushed to your dev branch. This happens ~10 seconds after the AI finishes responding so consecutive turns combine into one commit
- From your laptop — run
git commit && git pushfrom your local checkout. Hiveku’s webhook handler picks up your push and reconciles the database against the new commit
Pulling changes
Click Pull to fetch the latest changes from the remote repository and update your project files.Branch management
Auto-commit at AI session end
When your project is connected to GitHub, auto-commit is always on for AI sessions — there is no toggle to enable or disable it. Every chat turn that edits files ends with a single bot commit pushed to your dev branch. How it works:- The AI edits files during the chat session and saves them to Hiveku’s database
- When the streaming response finishes, a 10-second debounce timer starts
- If no follow-up turn arrives in that window, Hiveku batches every file the session touched into one commit, signed by
hiveku[bot] - The commit message is prefixed
[hiveku] Sync from Hivekuso it can be identified in your repo history - If a follow-up turn does arrive within the window, the timer resets so back-to-back turns combine into one commit instead of spamming N commits
Auto-commit and auto-deploy are independent. Bot commits never trigger an auto-deploy, even if you have auto-deploy enabled on the target branch. Auto-deploy only fires for commits made by you (or external collaborators) from outside Hiveku. See Auto-deploy on push.
Resolving conflicts
Both Hiveku and an external git client can edit the same file before either side commits. When that happens, the next sync (triggered automatically by a deploy or webhook) detects the divergence and refuses to overwrite either side. Instead, Hiveku surfaces the conflicting files so you can resolve them. You have three resolution paths per file:
Once every conflict is resolved, retry the deploy or sync and it will proceed normally.