git stash example

C++
git stash cleargit stash push -m "message" // use for code added in statsh 
git stash list // use for check stash list
git stash apply stash@{index}git stash drop stash@{index}   // here index will be shown after getting stash list.git stash pop
git stash show -p stash@{1}git stash save "name to describe stashed content"
Source

Also in C++: