stashing a specific file in git code example
Example 1: git stash apply specific file
git diff stash^! -- path/to/relevant/file/in/stash.ext perhaps/another/file.ext > my.patch
git apply < my.patch
Example 2: aad a single file to stash
git stash push -m welcome_cart app/views/cart/welcome.thtml