Skip to content

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 25 Oct 02:11
· 245 commits to main since this release

Install

Linux (x64, arm64) and macOS (Apple Silicon):

curl -fsSL https://github.com/ThirtyTech/tt-git/releases/download/v0.9.0/install.sh | TTGIT_VERSION=v0.9.0 sh

Windows (x64, arm64), in PowerShell:

$env:TTGIT_VERSION = 'v0.9.0'; irm https://github.com/ThirtyTech/tt-git/releases/download/v0.9.0/install.ps1 | iex

What's changed

New

  • Reset. Press X in the graph or the branches pane to reset the current
    branch to a commit or branch, choosing soft, mixed or hard. A hard reset asks
    again and says which uncommitted changes are lost and how many commits leave
    the branch. Undo (z) takes it back the same way.
    Reset
  • Folder tree in Status. Press ` to switch between the flat list and a
    tree grouped by folder. Your choice is saved as status.tree. Enter folds a
    folder, and - and = fold or open them all. Space, d and i on a
    folder stage or unstage, discard or ignore everything under it, and details
    shows the folder's diff.
    Status
  • Ask an agent about a hunk. A in the staging view sends the selected hunk
    or lines to your agent. In details, A sends the hunk at the top of the diff.
    You can set the prompt with [agent] hunk_prompt, and actions with
    when = "hunk" (Explain change, Review change) are offered there.
    Agents
  • Search the whole message or the diff. ctrl+t in the graph's / prompt
    switches what the regex searches: the subject, the whole commit message, or
    the lines each commit adds or removes (git log -G). The graph's title shows
    which.
    Graph
  • Search in details. / searches the commit, stash or diff shown in
    details, jumping to matches as you type. n and N step through the
    matches. In the files view they go on to the next or previous file with a
    match.
    Details
  • Per-repository config. A repository can lay its own settings over your
    global config.toml, from .tt-git.toml in the working tree (committed) or
    tt-git.toml in the git dir (local, shared by worktrees).
    tt-git config path lists the files that apply.
    Configuration
  • Page details from the graph. shift+pageup and shift+pagedown scroll
    the details pane without leaving the graph.

Changed

  • / presets from your repo. When graph.message_presets is unset (now the
    default), tab in the / prompt steps through the 8 subject prefixes
    (feat:, fix(scope):…) used most in recent commits. A dotted rule
    separates them from the input.

Full Changelog: v0.8.1...v0.9.0