git log --reverse
git diff --name-only master | tr '\n' ' '
git revert --no-commit 0766c053
git revert --no-commit 0766c053..HEAD
git checkout --
git diff --name-only | grep "app/" | while read line; do git checkout -- $line; done;
git fsck --unreachable | grep commit | cut -d" " -f3 | xargs git log --merges --no-walk --grep=WIP
Then simply git stash apply <commit hash>
.
git branch | grep * | cut -d ' ' -f2