git stash 1 file only code example
Example 1: how to apply changes in a single file from stash
git checkout stash@{0} -- <filename>
Example 2: aad a single file to stash
git stash push -m welcome_cart app/views/cart/welcome.thtml
git checkout stash@{0} -- <filename>
git stash push -m welcome_cart app/views/cart/welcome.thtml