git stash save code example
Example 1: git stas hauntracked files
git stash --include-untracked
Example 2: git stash pop index
git stash pop stash@{2}
Example 3: git stash save name
$ git stash push -m "john-hancock"
$ git stash apply stash^{/john-hancock}
Example 4: git stash clean command
git stash clear
Example 5: stash clear list
git stash clear // to clear the whole list
Example 6: git stash example
git stash push -m "message" // use for code added in statsh
git stash list // use for check stash list
git stash apply stash@{index}