Native version control support for Game of Trees
(got) in IntelliJ-based IDEs: the same file status, diff, commit, history,
and update/push workflow you get with Git, backed by the got CLI.
- Detects
.got/work trees as agotVCS root automatically - File status in the Commit tool window (
got status) - Native diff and modified-lines gutter (
got catagainst the base commit) - Commit and rollback from the Commit tool window (
got commit,got revert) - A Commit and Send button next to the default Commit action: commits and opens the native Push dialog in one step
- A Log tab with the full commit graph, refs (branches/remote branches/tags), and per-commit changed files
- File history (
got log) and Update Project (got update/got fetch) - Clone repositories over
ssh://from the native Clone Repository dialog ("Got" in the Version control dropdown) - Current branch name shown in the status bar, and the native Push dialog
(
Ctrl+Shift+K) with real outgoing-commit detection forgot send - Automatic refresh of the Commit panel and Log tab after commit, push, or
update — including changes made outside the IDE (e.g.
got commitin a terminal) - A Settings panel (Settings > Version Control > got) to override the
gotbinary path andSSH_AUTH_SOCK, for setups where auto-detection doesn't apply
There's no daemon and no cached repository model: every action shells out to
the got binary for the relevant work tree and adapts its output to the
corresponding IntelliJ Platform VCS API.
| IntelliJ feature | got command |
|---|---|
| VCS root detection | presence of a .got/ directory |
| File status | got status |
| Diff / gutter | got cat -c :base |
| Commit | got commit -m <message> <paths> |
| Rollback | got revert -R <paths> |
| Commit and Send | got commit, then opens the Push dialog |
| Log tab | got log -b, got cat, got ref -l |
| History | got log |
| Update Project | got fetch + got update |
| Branch widget | got info ("work tree branch reference") |
| Push | got send |
| Outgoing commits | got ref -l + got log -x against the remote |
| Clone | got clone (bare repo) + got checkout (work tree) |
Source is organized by responsibility under dev.nezzontli.gotvcs:
cli— the single wrapper aroundgotinvocations (GotCommandLineWrapper)changes,checkin,history,update,roots— one package per VCS extension point implementedrepo— theRepositorymodel and the branch-name status bar widgetpush— native Push dialog support (PushSupportand friends), including outgoing-commit detectioncheckout— the "Got" entry in the Clone Repository dialog (CheckoutProvider)log— the Log tab (VcsLogProvider) and the refresh notifier that keeps it and the Commit panel up to datesettings— the persisted configuration and its Settings panel
- IntelliJ IDEA (or another IntelliJ Platform IDE) 2026.1 or newer
- The
gotbinary, either onPATHor configured under Settings > Version Control > got
./gradlew buildPlugin
The resulting ZIP is written to build/distributions/ and can be installed
via Settings > Plugins > ⚙ > Install Plugin from Disk.
By default, this downloads a matching IntelliJ IDEA build to compile against.
To use a local installation instead (faster, no download), set in
~/.gradle/gradle.properties (not part of this repo):
ideLocalPath=/path/to/your/IntelliJ/installationIssues and pull requests are welcome. Before submitting a change:
./gradlew buildPlugin verifyPlugin
verifyPlugin checks compatibility against the IDE versions declared by
sinceBuild in build.gradle.kts and flags deprecated API usage.
Pushing a v* tag triggers .github/workflows/release.yml, which builds,
verifies, creates a GitHub Release with the plugin ZIP attached, and — once
a PUBLISH_TOKEN secret is configured — publishes to the JetBrains
Marketplace.