git stash files code example
Example 1: git stash clean command
git stash clear
Example 2: git delete stash
git stash drop stash@{index} // here index will be shown after getting stash list.
Example 3: how to get stashed on git
git stash pop
Example 4: git stash file
# git stash specific file
git stash push <path>
Example 5: git save to stash
git stash save "name to describe stashed content"
Example 6: aad a single file to stash
git stash push -m welcome_cart app/views/cart/welcome.thtml