1
0
Fork 0

Added the gsD alias - show stash diff

This is a simple alias addition (with readme update) to show
a diff for each item in the stash
pull/376/head
Andrew Williams 12 years ago
parent b531191e2c
commit cbdf875878

@ -170,6 +170,7 @@ Aliases
- `gsx` drops a stashed state.
- `gsX` drops all the stashed states.
- `gsd` lists dropped stashed states.
- `gsD` shows the diff for all stashes
- `gsl` lists stashed states.
- `gsL` displays the changes recorded in the stash as a diff between the
stashed state and its original parent.

@ -155,6 +155,7 @@ alias gsr='git-stash-recover'
alias gss='git stash save --include-untracked'
alias gsS='git stash save --patch --no-keep-index'
alias gsw='git stash save --include-untracked --keep-index'
alias gsD='git show $(git stash list | cut -d":" -f 1)'
# Submodule (S)
alias gS='git submodule'

Loading…
Cancel
Save