This page covers the Git panel inside the code editor. For the full GitHub connection setup, see GitHub Integration.
Connecting to GitHub
Authorize GitHub
Go to Settings > Integrations > GitHub and click Connect. Authorize Hiveku to access your GitHub account.
Select or create a repository
Choose an existing repository from the dropdown, or create a new one directly from Hiveku.
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
| Action | How to |
|---|---|
| Create branch | Click the branch dropdown and select New Branch. Enter a name and confirm. |
| Switch branch | Select a different branch from the dropdown. Your project files update to match. |
| Merge branch | Select the target branch, then click Merge. Resolve any conflicts in the editor. |
| Delete branch | Click the trash icon next to a branch in the dropdown. |
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:| Choice | What it does |
|---|---|
| Keep the Hiveku version | Push the Hiveku version up to GitHub. The external change is overwritten. |
| Keep the GitHub version | Pull the GitHub version into Hiveku. Your Hiveku-side edits are discarded. |
| Merge manually | Open the file, combine both versions by hand, then save and commit. |