git使用stash存储相关操作

git stash  将当前修改存储起来

git stash apply 恢复最近一次存储

git stash apply stash@{2} 恢复某一次存储

git stash list 查看存储列表

git stash clear 清除所有存储

git stash drop stash@{2} 删除某一次存储

posted @ 2019-03-28 10:37  刘倩文  阅读(453)  评论(0编辑  收藏  举报