xxxxxxxxxx
# if you unknowingly pressed the git stash command the use this
git stash apply
# by using this above command your recently stashed codes will be retrived back
# then to see the result you can use this
git diff
xxxxxxxxxx
# List your current stashes
git stash list
# If there is only one stash you can switch to it with
git stash pop
# If there are multiple stashes you choose by typing the name at the end i.e.
git stash pop stash@{0}
xxxxxxxxxx
# Just check out the branch you want your changes on, and then
git stash apply
#Then use
git diff # to see the result
xxxxxxxxxx
git fsck --unreachable |
grep commit | cut -d\ -f3 |
xargs git log --merges --no-walk --grep=WIP