Repository navigation
v0.6.0
Install
Linux (x64, arm64) and macOS (Apple Silicon):
curl -fsSL https://github.com/ThirtyTech/tt-git/releases/download/v0.6.0/install.sh | TTGIT_VERSION=v0.6.0 shWindows (x64, arm64), in PowerShell:
$env:TTGIT_VERSION = 'v0.6.0'; irm https://github.com/ThirtyTech/tt-git/releases/download/v0.6.0/install.ps1 | iexWhat's changed
New
- Revert a commit. Press
Ron a commit in the graph to revert it, after a confirmation. For a merge commit you choose which parent's side to keep. A conflict stops the revert, and you continue or abort it from the status pane.
Graph - Cherry-pick a range. In the graph,
vstarts a range at the selected commit and moving extends it.Cthen applies every commit in the range, oldest first. A range that contains a merge commit is refused.
Graph - Conflicts with the base branch. Branches and worktrees that would conflict with the base branch get a
✗nmark (n is the number of conflicting files), and the bottom border names the files for the selected row. The check runs in the background and doesn't touch the repository. It needs git 2.40, andbranches.check_merges = falseturns it off.
Branches - Fast-forward without checking out. Press
Fin the branches pane to move a local branch to its upstream without switching to it. It refuses, with a message, for the checked-out branch, a branch with no upstream, a branch that's ahead or has diverged, and a branch checked out in another worktree.
Branches - Discard everything.
Din the status pane opens a dialog where you choose what to throw away: everything, unstaged changes, unstaged changes plus untracked files, or untracked files only. It shows what will be lost and what's kept first.
Status - Ignore a file.
iin the status pane adds the selected file, or its folder, to.gitignoreor.git/info/exclude. If the path is tracked, it asks first and then untracks it.
Status - Hide the graph lanes.
Ltoggles the branch lanes in the graph, andgraph.lanessets the default.
Graph - New plugin events.
revert.completedandbranch.fast_forwardedare new, andcherry_pick.completednow has acommitsarray.
Events
Fixed
- Worktrees changed outside tt-git. The worktree list now updates by itself when you add, remove, move, lock or prune a worktree in a shell. Before, you had to press
ctrl+r. tt-git opened in a linked worktree also picks up branch and worktree changes made from the main one.
Worktrees
Full Changelog: v0.5.0...v0.6.0