stash content in another branch code example
Example 1: stash clear list
git stash clear // to clear the whole list
Example 2: how to stash changes and use in another brunch
git stash
git checkout -b xxx
git stash pop
git stash clear // to clear the whole list
git stash
git checkout -b xxx
git stash pop