git-stash初识小记

stash:修改暂存.非会持久化,不会生成commit记录

stash三板斧:

git statsh ;

#前提是当前修改提交到缓存,缓存当前修改。+ save "save message" :添加说明

git stash list

#暂存列表

git stash show 

#暂存修改展示

git stash drop 

#删除暂存

git stash apply 

#恢复暂存

show/drop/apply可以指定

猜你喜欢

转载自www.cnblogs.com/BoyQing/p/9316983.html