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 [email protected]{index}git stash drop [email protected]{index}   // here index will be shown after getting stash list.git stash pop
git stash show -p [email protected]{1}git stash save "name to describe stashed content"
Source

Also in C++: