git amend file in stash code example
Example 1: git stas hauntracked files
git stash --include-untracked
Example 2: how to stash changes and use in another brunch
git stash
git checkout -b xxx
git stash pop
Example 3: git save to stash
git stash save "name to describe stashed content"