# 暂存临时栈

暂存当前的修改:

git stash

给暂存的修改添加描述:

git stash save "你的描述"
git stash save "暂存前端代码的修改"

查看暂存的修改列表:

git stash list

恢复特定的暂存修改:

git stash apply stash@{n}
git stash apply stash@{0}

恢复最新的暂存修改并从栈中移除:

git stash pop

删除特定的暂存修改:

git stash drop stash@{n}
git stash drop stash@{0}

清除所有暂存的修改:

git stash clear