stash a file git code example
Example 1: git stash file
# git stash specific file
git stash push <path>
Example 2: git save to stash
git stash save "name to describe stashed content"
Example 3: stash specific files git
git stash push -m welcome_cart app/views/cart/welcome.thtml
Example 4: git stash
//to restrict file to add for commit
git stash pathOfFile