stash 暂存本地代码
1、暂存本地代码
git stash save '描述信息'
2、查看本地有多少缓存代码
//这里索引越小代码越新
git stash list

3、合并本地缓存代码
git stash apply //默认合并最新的缓存代码
git stash apply 1 //合并索引为1 的缓存代码
4、删除某一个缓存代码
gti stash drop 索引
git stash drop 2 //删除索引为2 的缓存代码

5、清除本地所有缓存代码
git stash clear