Skip to content

暂存 ​

暂存命令 ​

shell
git stash

或者也可以指定暂存备注

shell
git stash save "暂存的备注"

查看暂存记录 ​

shell
git stash list

取回暂存代码 ​

shell
git stash pop

也可以指定取回哪个

shell
git stash pop 0