git stash 记录

797 阅读1分钟

xxx代表具体的内容 编号等

save

git stash save "xxx"

查看

git stash list

查看某个stash的具体内容

git stash show -p stash@{xxx}

应用

git stash apply stash@{xxx}

删除所有

git stash clear

删除某个

git stash drop stash@{xxx}