0
Q:

git stash example

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

New to Communities?

Join the community