wolfyk
Drive

xpdt

For developers: a keyboard-driven git client and code browser for the terminal.

Install
$ git clone https://github.com/WolfyCodeK/xpdt.git ~/.xpdt
$ cd ~/.xpdt
$ ./install.sh

Runs on macOS and Linux, and on Windows through WSL2.

You need git, python3, curl or wget, a C compiler and a Nerd Font. Every tool the installer fetches is checked against a pinned SHA-256 before it's used. Free under The Unlicense, with the source on GitHub.

The main view: files with git status and last author, a changes box, and recent commits.
Git in the file listing

What it does

Git in the file listing
Every file shows its status and the last person to change it, beside a live changes box and the branch's recent history.
Changes, down to the word
Stage or unstage whole files or single hunks, discard and commit. Within a changed line, only the words that differ light up.
History and stashes
Browse any branch, open a commit, cherry-pick it or undo the last one. Create, apply and drop stashes.
A safety catch
Anything that changes your files asks for a random two-digit code first, so a stray key can't throw work away.
Neovim to match
Open a file at the right line, step through changes inline, and pick from five themes that recolour everything together.

The keys you'll use most

  • enterthe changes browser
  • ;the commit history
  • sthe stash browser
  • /find files by name, \ search inside them
  • →open a folder, or a file in Neovim
  • hevery key, q quit

Updating

Update
$ cd ~/.xpdt && git pull && ./install.sh

Release history

Newest first. Releases that only touched the README are left out.

  1. 1.50.1Highlighting kept when a hunk opens on a closing delimiter.
  2. 1.50.0Diffs that span more than one file are syntax highlighted.
  3. 1.49.0View-branch moves to ctrl-b, so the commit filter keeps every letter.
At night, a yellow car runs towards a lit white board reading xpdt, which fills the top left of the picture.
4,117 m down the pass: close by the xpdt board

Its board on the pass

xpdt has its own lit board on the pass in Downhill, the night drive on this site.

Drive past this board