Some handy git aliases for the command line. The $argv
syntax is from fish, but for bash functions you can use $1
.
Lists the most recent 5 stashes. Shows commit sha/message, who created the stash, and file stats.
git stash list --stat -5 --pretty=format:'%C(yellow)%gd: %C(green)%s %C(blue)[%cn]'