Think before you speak, read before you think.

git stash

by

in

保存当前工作

git stash

查看 stash 列表

git stash list

切回某次工作

git stash apply stash@{3} 

切回最近一次保存的工作

git stash pop 相当于
git stash apply stash@{0}

删除某个 stash

git stash drop stash@{1}

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *