Editora 0.12.1 docs. You are reading an archived version, kept so links from that release keep working. Read the 0.12.3 docs →
Beta Git
Editora’s Git support shells out to your installed git, with no bundled
library. It’s off by default; turn it on in Settings → Git. If git
isn’t installed, the integration stays inert.
Git integration
- The status bar shows the current branch with ahead/behind counts. Click it for a dropdown to switch or create branches, pull, fetch, and push. Outside a repo it reads “No VCS” and offers to clone.
- Gutter change bars mark added, modified, and deleted lines against HEAD. Hover a bar for that hunk’s diff.
- The Project tree marks files by Git status, IntelliJ-style: a single-letter prefix (M / A / D / R / U) and a color, added (green), modified (blue), deleted (gray), renamed (violet), untracked (olive), with changed folders tinted. The Commit window’s rows use the same letters and colors, so the two read identically. It updates as you edit, stage, commit, or switch branches.
- The Commit tool window (
M-4) groups staged, changed, and untracked files with stage, unstage, discard, and a commit box (Ctrl/Cmd+Enter to commit). - A Git Log tool window (
M-g h), the active file’s history (git.fileHistory), inline blame (GitLens-style, current line; toggle withgit.toggleBlame), and stash (git.stash, pop, drop).
| Action | Command | Default key |
|---|---|---|
| Commit (open the Commit window) | git.commit | C-x g |
| Switch branch (dropdown) | git.switchBranch | (status bar) |
| Fetch / pull / push | git.fetch / git.pull / git.push | (palette) |
| Clone a repository | git.clone | (palette) |
| Refresh | git.refresh | (palette) |
Cloning asks for a URL and a destination, then opens a file from the clone (its README if present) so Git activates without creating a project. Branch switch, pull, and push reload unmodified open buffers whose files changed on disk.
Editora uses the git on your PATH; Git: Set Git Command
(git.setCommand) points it somewhere else, and a blank value goes back to the
PATH one.
Seeing what it ran
The Output console (tool.buildOutput) has a Git tab holding a
transcript of what Editora ran on your behalf: the command line, its output, and
its exit code and duration.
It logs the commands you asked for — commit, push, pull, fetch, checkout,
stash, clone — and deliberately not the status and diff reads it re-runs on
every tab switch, focus change and save, which would bury them. It never steals
focus, either: nothing jumps in front of what you were doing, and the transcript
is simply waiting when you open the window.
For comparing files and resolving merge conflicts, see Diff & merge. For pull requests, reviews, and CI runs, see GitHub.