git stash对没有加入版本控制的代码是无效的
1.新建一个文件add.txt
git status

2.git stash save 1
3.git stash list

4.修改文件add.txt

git status
5.git stash save 111
6.git stash show list 显示列表
7. git stash apply stash@{1} 切换
8.git restore add.txt 回到git add 初始状态
git stash show

git stash clear 删除所有stash
git stash drop stash@{1} 删除