Skip to content

Instantly share code, notes, and snippets.

@lefou
Created November 6, 2020 09:30
Show Gist options
  • Save lefou/266a8765f0812ab9806d3b814732e057 to your computer and use it in GitHub Desktop.
Save lefou/266a8765f0812ab9806d3b814732e057 to your computer and use it in GitHub Desktop.
gitk wrapper that also includes all stashes
#!/usr/bin/env sh
if [ "x$@" = "x" ] ; then
gitk --all `git stash list '--pretty=format:%gd'` &
else
gitk "$@" &
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment