Skip to content
Codux Codux AI

Built-in Git

The Git panel in Codux is built natively, not embedded as a webview. Toggle it any time with ⌘⇧G. It is project-scoped: each project keeps its own Git state, so you can review staged changes in one project while an agent is mid-turn in another.

  • Initialize an empty folder, or clone a remote repository.
  • Clone uses your system Git and credential helpers; if it hits an authentication error, Codux prompts for a username/token and retries.
  • Stage or unstage selected files — or everything — and discard selected changes.
  • Inspect a unified diff for any changed file.
  • Add a file or a whole directory to .gitignore straight from the sidebar.
  • Directory rows carry section-aware stage / unstage / discard / ignore actions.
  • Commit, commit & push, or commit & sync from the same panel.
  • Generate a commit message with AI from the staged diff.
  • Amend the last commit message, or undo the last commit (soft reset).
  • Checkout local or remote branches; create a branch, optionally from a specific commit.
  • Merge or squash-merge a branch; delete a branch (force when needed).
  • Add or remove remotes, copy a remote URL, and choose the push target.
  • Browse recent commits, and from any commit checkout, revert, or restore your working tree to that revision locally.
  • Fetch, pull (rebase), push, and force push.
  • One-shot sync pulls (rebase) then pushes in a single action.
  • Long-running fetch / pull / push / sync can be cancelled mid-flight.
  • Review your changes against a base branch, with a side-by-side base/current view per file.
  • Create, merge, and remove Git worktrees via the New Worktree flow. Each worktree behaves like its own project workspace.

The panel auto-refreshes as files change on disk. Not in the panel today: stash, blame, cherry-pick, tags, and in-app merge-conflict resolution (conflicts are surfaced for you to resolve manually).