Skip to content

vlensys/stashpilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stashpilot

A TUI tool for managing git stashes, the part of git that git stash list makes miserable.

image

Install

go install github.com/vlensys/stashpilot@latest

If stashpilot isn't found after installing, add Go's bin directory to your PATH:

# fish
fish_add_path $HOME/go/bin

# bash
echo 'export PATH="$PATH:$HOME/go/bin"' >> ~/.bashrc && source ~/.bashrc

# zsh
echo 'export PATH="$PATH:$HOME/go/bin"' >> ~/.zshrc && source ~/.zshrc

Or clone and build:

git clone https://github.com/vlensys/stashpilot
cd stashpilot
go build -o stashpilot .

Usage

Run it from inside any git repo:

stashpilot
Key Action
/ k Navigate up
/ j Navigate down
a Apply stash (keeps it in the list)
p Pop stash (apply + remove)
d Drop stash (delete without applying)
n Create a new stash from working changes
ctrl+u Scroll diff up
ctrl+d Scroll diff down
r Refresh stash list
q Quit

Destructive actions (pop, drop) require confirmation with y or Enter.

About

A TUI for managing git stashes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages