Repository navigation
New Features
- Krill's own editor by default: with no editor command in Settings, now the default, Open in editor opens the working tree file in krill itself: the WIP's File view, at the line, ready to edit. A file deleted since says so. A command such as
code -g {file}:{line}, the default before, still opens files in another editor: set it in Settings to keep it. - Branch / Tag column: its width follows a grip, as the Graph column's does: dragged, it stops at the longest label shown and never pushes the commit messages out of view. A double-click on the grip resets it.
Misc changes
- A commit or a list of thousands of files draws its first 2000 rows and counts the rest, which the filter or the Tree view reaches: a 50,000-file commit no longer freezes the window for a minute and a half.
- A
git commitrun in a terminal while krill is open no longer fails on theindex.lockof krill's background status; after a slow one, as when a build touched many files, krill refreshes the index once so the next ones are fast again. - Side by side, two versions of a Markdown or HTML page scroll together past images, rules and repeated paragraphs.
- A tab closed in a group comes back in it with Ctrl+Shift+T.
- The lanes' scrollbar under a narrow Graph column stays visible over the lanes.
- A short tab's close button sits at its end.
Previous versions
0.6.0
New Features
- Tab groups: a tab's menu adds it to a group, led by a named chip in the group's color; tabs picked first with Ctrl+click or Shift+click go in with it. A click on the chip folds its tabs away and back (Ctrl+Tab passes folded tabs by); dragging the chip moves the whole group; a tab dragged into or out of a group joins or leaves it. Settings can keep one group open at a time: a folded group's chip then opens it on the tab last shown there and folds the others, tabs outside groups staying in view. The tab search shows each tab's group and finds tabs by its name, folded ones included. Groups come back after a restart, and a closed group comes back whole with Ctrl+Shift+T.
- Tab colors: a repository's tab takes a color picked in its menu, in place of the one from its path; groups pick from the same palette.
- Pull and Push on any branch: a local branch not checked out pulls (fetched, then fast-forwarded) and pushes from its menu, where
git pushwould send it; a push refused as non-fast-forward offers a force push, as for the checked out branch. - Back and Forward: arrows at the left of the toolbar, the mouse's side buttons and Alt+Left / Alt+Right go back a screen (out of a file's history, a file, a merge, a pull request, a worktree or a submodule) and forward to the file or history just closed.
Misc changes
- Interactive rebase onto a branch: the oldest commits that branch already holds, as after a squash merge of an earlier pull request, open as Drop, marked "already in main": only the new ones are replayed, without their conflicts.
- Ctrl+F with a diff or a file open searches its text, not the commit list behind it.
- On a maximized window, the sidebar no longer folds back when the pointer leaves through the window's left edge.
- Fixed: the Force push and first Push banners pushed whatever branch was checked out when clicked, not the one they named.
0.5.2
New Features
- Fast-forward: a commit or a branch ahead of the checked out branch, on its own line, offers "Fast-forward" in its menu in place of Merge and Rebase, which replay nothing there. Uncommitted changes are kept aside and come back; Undo takes it back.
- Workspace: the manifest's checkout heads the list as "manifest", and projects are grouped under their parent folder (packages, products…): two projects with close names no longer look alike.
Misc changes
- Workspace: after a checkout in the open tab, its row shows the new branch at once; the other rows follow within 5 s.
- Diffs: a whole added or removed line has a lighter tint, its text easier to read; the Hunk, Inline and Split icons are sharp.
- A remote's branch count in the sidebar is grey, apart from the count of remotes.
- Undo and Redo keep uncommitted changes aside: undoing a pull, merge or rebase over an edited file it changed no longer fails.
- Fixed: a branch's menu offered Merge while a rebase was stopped, where it moved the rebase's commit.
0.5.1
Misc changes
- Markdown pages with many mermaid diagrams draw in seconds: both versions of a long page could take over a minute.
- The Git identity notice at startup reads the identity git uses in the open repository,
includeIfand the repository's own config included: no more notice at every launch when it is set there. - Workspace: a project the manifest lists but that is not on disk says so; projects are read a few at a time and Fetch every project fetches six at once; outside a repo tool checkout, Fetch every project is greyed.
- Protected push: hovering the banner shows the server's own message; Move and push checks the branch has not changed since the refusal.
- Gone branches: a branch merged after it was first seen is offered once HEAD moves, and one committed to since the toast appeared is kept.
- Worktree swap checks the other worktree still has the branch before touching it.
- Fixed: a page being read jumped when its old version came in beside it; the activity indicator could stay 10 s after switching views on a page, or 5 s on a history card; clicking File or Diff again could blank a deleted preview or add a second old version; a deleted image showed nothing in the File view; leaving a history could reopen a diff no longer there; on Windows, Git installed from the notice ran without LFS until a restart.
0.5.0
New Features
- Workspace: in a repo tool checkout, a sidebar section lists every project with its branch, uncommitted changes, ahead/behind and linked worktrees. Double-click opens one; its menu fetches it, shows its folder or copies its path; the header's ⟳ fetches them all.
- Worktree swap: a branch checked out in another worktree can be checked out here, the two folders trading branches (Checkout, swap with …). Checking out such a branch opens its worktree, with a toast offering to check it out here instead.
- Gone branches: local branches deleted on their remote and merged there are offered for deletion in one toast, squash merges included through gh.
- Protected push: a push refused because the branch is protected offers to move its commits to a new branch and push that one.
- Git setup: a missing name or email opens Settings with both fields marked; on Windows, the "Git is not installed" notice installs Git with winget.
Misc changes
- Tooltips on the sidebar sections.
- A commit or a compare with no changes says so.
- Remote branches in the sidebar show their pull request's number too; pull request numbers are grey.
- Leaving a file history opened from a diff goes back to that diff.
- Fixed: the hooks toast listed single letters instead of the hooks; the status bar changed height with its message; a preview flickered when switching between File and Diff, or to another file; a page's diff in the file history kept the activity indicator up for 5 s.
0.4.2
New Features
- Added the ability to stash individual files from their context menu.
- Added branch deletion when removing a worktree that holds the branch.
- Added remote branch deletion while the corresponding local branch is checked out.
Misc changes
- Keep WIP selected after stash and discard operations.
- Stale worktrees are now pruned before checking out or creating a branch.
- Improved branch and worktree deletion dialogs.
- Regression test coverage for branch menus, stashing, worktrees, and diffs.
- Fixed: menu items appearing behind column grips, prevented renamed files and submodules from offering unsupported stash actions, animated WIP list indicator when the list is hidden.
0.4.1
New Features
- Back to the prompt: started from a terminal on Linux or macOS, Git Krill runs on by itself and gives the prompt back.
Misc changes
- The status line (bottom left) clears after 5 s; an operation under way keeps its message until it ends.
- Worktrees whose folder is gone are only hidden, no longer pruned: one on an unplugged drive comes back with it.
- Links to other local web servers open in the browser.
- Fixed: Ctrl+S did not save a diff once the merge tool had been used; the File view lost its place on refresh, its Load more bar was cut short, and Open went to the Diff view's line; Preview to Text could leave a blank pane; a pull request page reloaded twice on refresh, and a review not yet submitted could sort first; the change arrows and Hunk, Inline and Split showed two tooltips; double-clicking a remote branch in a worktree could check out its local branch there while another worktree had it, leaving that one's files behind.
0.4.0
New Features
- PDF preview: a PDF shows in the window's own viewer, alone or beside its previous version. Its links open in the browser.
- File view: a File | Diff switch in the diff bar shows the whole file without its changes, still editable. Unchanged, added and deleted files, images, PDFs and binaries open in it, and no diff is computed until you switch to Diff. Your choice is remembered, like Hunk, Inline and Split.
- Pull request refresh: a button reloads a pull request's checks, description and threads. Your own review, started but not submitted, shows as such.
- Spell check in commit messages: summary, description, reword and rebase messages.
- Colored bracket guides: the vertical guides in code take the colour of their bracket pair.
Misc changes
- Zooming the text by keys or Ctrl+wheel no longer pops the zoom bubble: the level shows on the button. Text zoom is greyed on previews.
- Hunk, Inline and Split are icons now, and the diff bar reads: zoom, wrap, File | Diff, previous and next change, modes, History, Open. Buttons that only work in the Diff view are greyed in the File view and say so.
- A tab whose worktree or submodule folder is deleted steps back to its repository instead of closing. Worktrees whose folder is gone are pruned by themselves.
- A pull request's Checkout button keeps its worktree icon once checked out.
- Close buttons are borderless, their cross lights up on hover; so do the find bar's icons.
- Ctrl+End in a big file brings its whole Load more bar into view.
- The merge tool's panes show their lines to the end, no longer under a blank strip.
- Fixed: a changed binary file opened as if unchanged; after signing in to the GitHub CLI, pull requests could take a minute, or a restart, to show.
0.3.1
New Features
- Text zoom: Zoom in and out on the text of diffs and file history a step at a time, works like in a browser.
- Word wrap: Button next to the change arrows, or Alt+Z, wraps long lines in diffs and file history.
- More room for diffs: with a diff open, the sidebar folds to its icons; hover it to slide it open.
- Checks that follow along: a pull request's page asks again every 30 s while its checks run, and redraws them as they finish.
Misc changes
- Committing closes the open diff and brings you back to the graph, unless it holds unsaved edits.
- Long lines get a horizontal scrollbar in diffs and file history.
- The scrollbar of a diff marks its changes in two columns, removed lines on the left and added ones on the right; Hunk view keeps a plain, wider scrollbar.
- Checkboxes follow the theme's colours.
- A pull request's number now sits before its branch's name on graph labels, so it stays put when the label widens on hover.
- Pictures hosted elsewhere in pull request comments show as their text (Copilot's severity badges, for one).
- Opening a pull request's page shows the activity indicator while it loads.
- Sharper icons in the diff bar; a bigger commit search icon and pull request spinner.
- Fixed: the first save of an edit to an unchanged file (All files) kept the activity indicator up for 5 s; Split was not greyed for an unchanged file, like Hunk.
0.3.0
New Features
- Pull requests, through the GitHub CLI (
gh), on github.com and GitHub Enterprise:- a Pull requests section in the sidebar, each with its checks, and its number on its branch's label;
- a pull request's page: description, checks, comments and review threads, with its changed files in the panel, opening in the diff;
- check out its branch (or open the worktree that has it), open it in the browser;
- create one from a branch's menu or the section's +, as a draft if you like; the branch is pushed first when needed.
In a fork, pull requests come from theupstreamremote. Withoutgh, or signed out, the section says so.
- Markdown preview: a Markdown file's diff switches between its text and the rendered page, mermaid diagrams drawn. Switching between Text and Page, or between one and both sides, keeps your place.
- Binaries as hex or symbols: any binary compares as a hex dump, an executable (ELF, Mach-O, PE) by its sections and symbols. Load more reads further; Open hands any version to its default app.
- Big text files in parts: a file over 10 MB shows 10 MB at a time, both sides lined up by git's own diff. Load more adds the next part; N loads up to the next change further down.
- Wide graphs scroll sideways: the graph column stops at ten lanes; past it the lanes scroll with a sideways wheel, Shift+wheel or the scrollbar under them, while the messages stay put. Drag the column's header edge to resize it, double-click to reset. Jumping to a commit brings its dot into view.
- Clone: shows its progress, can be stopped or left to finish in the background. Ctrl+N clones, Ctrl+I inits.
Misc changes
- The busy pointer shows on any wait, and stays until a diff's colours are drawn.
- Double-click a divider to reset its size; dividers light up on hover and while dragged.
- An added or deleted file's changes are marked in one colour.
- A dialog no longer closes when a text selection ends outside it.
- Fixed: big files whose name holds a space lined up badly; a crafted executable could exhaust memory in the Symbols view; a preview could keep a live link to a remote page; a symlink to a device could hang a preview; typing during a big file's load could mark the wrong file as edited.
- End-to-end tests with screenshot comparison now run on every push.
0.2.3
New Features
- HTML pages, drawn: an HTML file's diff switches between its text and the page itself, like an SVG. Nothing remote ever loads: no scripts, no network, only the images and stylesheets found in the repository.
- All files in the WIP panel: the All files toggle now lists every file of the repository next to your changes; an unchanged file opens editable, so any file can be edited from Git Krill, even with nothing to commit.
- Resizable file lists: drag the bar between the unstaged and staged lists.
- Image zoom: the mouse wheel zooms both versions of an image together, a drag pans them, Space or a double-click fits them back.
- Interactive rebase: squash without its message: untick "message" on a squash row, or press M, to fold a commit in and keep the other commit's message as it is (git's fixup).
- Checkout keeps your changes: when uncommitted changes block a checkout or a new branch, Git Krill stashes them, switches, then brings them back. If they would conflict there, they stay in the stash "krill autostash" and a toast says so; pull, merge and rebase now do the same.
- Undo a conflicted stash: a stash apply or pop that stops on conflicts can be undone, back to your files as they were; the stash stays listed.
- Keys: P and N jump to a diff's previous and next change; Esc closes toasts, oldest first.
Misc changes
- Files with no hunks to show (unchanged, pictures, drawn pages) open in Inline view, with Hunk greyed.
- Interactive rebase: an action that cannot apply is greyed with the reason instead of missing; long plans scroll faster with the arrow keys.
- Branch and tag menus: no Merge or Rebase for a branch already in the current one; "Delete local" and "Delete on origin" say which copy goes.
- The WIP row stays in the graph when there is nothing to commit.
- Undo's menu names its steps in plain words: interactive rebase onto…, soft reset to…, pop stash…
- Fixed: popping a stash over staged changes failed and unstaged them all; a menu could close instead of opening when another button sat at the same spot; Settings could overwrite a field being typed in; switching an SVG or HTML diff from its picture to its text flashed.
0.2.2
New Features
- Interactive rebase on several rows at once: Ctrl+click or Shift+click rows, then set their action together from the right-click menu or with P, R, S, D.
- Activity indicator: a bar sweeps under the header and the pointer spins while git works on anything slow.
- The selection follows your changes: after a pull, checkout, hard reset or rebase, the graph moves to the new HEAD; a soft or mixed reset or a stash apply lands on your uncommitted changes instead.
- Fast-forward on double-click: double-clicking a remote branch whose local branch is only behind brings it up to date without asking.
- Git missing: Git Krill says so once, with how to install it on your system, instead of failing on every action.
- Trace mode: start Git Krill with
KRILL_TRACEset to a file and every git command and action is timed into it, to find what makes an action slow or to attach to an issue; the README's Trace mode section says how.
Misc changes
- Git Krill has a home page: https://jean-roland.github.io/git-krill/
- Faster: refreshing a repository takes fewer git calls; selecting a big commit no longer computes its whole diff to show its details; applying or popping a stash with big binary files takes seconds instead of minutes.
- A branch's menu offers to delete it on the remote only when the branch and its remote copy are on the same commit; a renamed, ahead or unpushed branch no longer offers to delete its old remote branch.
- Merge, rebase and checkout name branches and tags in full: a branch named
stash, or like a tag, is no longer mistaken for the stash or the tag. - Fixed: a branch named
(detached)showed as a detached HEAD; a recent repository whose folder was deleted said "Git is not installed"; the file history showed the diff's Editable tag and Save button; Undo missed a branch caught up to its remote; clicking outside the graph or an interactive rebase now ends a Ctrl/Shift+click pick. - Fixing these issues prompted us to add easter eggs ㊙️.
0.2.1
New Features
- Windows and macOS support:
.exefor Windows,.dmgfor Apple silicon and Intel Macs. Neither is signed: the README's Install section says how to get past the first-launch warning. - Ignore: a file, its extension or its folder, from the file menu.
- Multiple file selection: Ctrl+click or Shift+click files in the unstaged or staged list, then stage, unstage, discard, stash or ignore them together, from the right-click menu or the buttons.
- Revert selected lines of a commit, from the right-click menu of its diff.
- Undo history: right-click Undo or Redo to see the steps, and go back several at once.
- Force push: when a push is rejected because the upstream has diverged, a banner offers to force push. It uses
--force-with-lease --force-if-includes, so commits a background fetch brought in are never dropped unseen. - Trust a folder pop-up appears when git refuses to open a repo because another user owns it, such as a WSL or network folder.
- Settings:
- now shows the Git krill build version currently running;
- sets the folder where the Open (Ctrl+O), Init and Clone dialogs start browsing;
- can update git's commit-graph file on every fetch, so the history of big repositories loads faster.
Misc changes
- A working tree diff says it is editable, and its Save button stays in place.
- Sidebar sections fold the same in every repository; opening a nested submodule says it opens in a new tab.
- Fixed: Revert hunk could fail with "no hunk"; submodules in history show as each commit recorded them; a worktree opened from Git Krill steps back to its repository again (Esc, Alt+←); switching tabs no longer shows the previous tab's panel for a moment; closing Settings goes back to the tab it was opened from.
0.2.0
New Features
- Images: PNG, JPEG, GIF, WebP, BMP, ICO and AVIF diffs show the old and new image side by side; an SVG switches between its text and the drawing. Other binary files open in their default program.
- Git LFS: LFS files are marked and diffed by their content, not their pointer. Download a missing version, pull or prune LFS files, and track or untrack a file, an extension or a folder from the file menu. Git Krill tells you when git-lfs is missing or not set up.
- Submodules: a sidebar section with each submodule's state; open one in the same tab and step back with Esc; initialize, update, discard, change its URL or delete it. Its diff lists the commits it moved through.
- Worktrees: create one from a branch menu; a worktree opens as
repo › worktreein its tab. - Interactive rebase: pick, reword, squash or drop the commits above one, and reorder them by dragging.
- Settings: git, git-lfs and gh status, background fetch on or off and how often, the editor command, the global identity and commit signing, and reuse of recorded conflict resolutions (git rerere).
- Commits: the author's email, and whether the server verified the signature (needs the GitHub CLI).
- Graph: load more commits past the first 3000, a drop-down for cells with several branch labels, and tags marked when a remote has them.
Misc changes
- Dates read YYYY/MM/DD HH:MM, Enter confirms dialogs, the Pull options also open on a right-click, and the first diff opens at once.
- Fixed: memory no longer grows as you switch diffs; thousands of changed files no longer freeze the window; local changes come back staged as they were after a pull, merge or rebase.
Linux only for now; Windows and macOS builds are planned later.
0.1.0
Initial release.
Features
- Graph: every branch in lanes, with branch, tag and stash labels, generated author avatars, and search (Ctrl+F). Branches, tags, remotes and stashes can be hidden one by one.
- Changes: stage and unstage whole files, hunks or single lines; commit, amend, reword; discard with undo (Ctrl+Z).
- Diffs: Hunk, Inline and Split views; edit and save the working file in place; revert a single hunk of a commit; big files load on demand.
- Conflicts: a three-pane merge tool with picks per hunk or per line; continue, skip or abort a merge, rebase, cherry-pick or revert.
- File history: each version of a file, as a diff or in full with blame.
- Branches: checkout, create, rename, merge, rebase, reset, cherry-pick, revert, delete (local and upstream).
- Remotes: clone, fetch, pull (fast-forward if possible, fast-forward only, or rebase) and push; local changes are stashed around pull, merge and rebase; a fetch runs in the background every 5 minutes.
- Stashes, tags and worktrees from the sidebar: apply, pop, rename and drop stashes; push and delete tags; open, remove and prune worktrees.
- Tabs, one repository each, reordered by dragging, each with its own terminal (Ctrl+`).
- SSH passphrase and HTTPS password prompts show in the window.