git stash 暂时保存修改

 git stash save 'product'
 #这时其他操作如 git pull
 git stash apply #不删除对应的stash

 

也可以:

git stash 

#其他操作,然后操作完成后

git stash pop    #删除对应stash

 

参考:https://blog.csdn.net/qq_36898043/article/details/79431168

posted @ 2020-07-08 09:37  i舒  阅读(1013)  评论(0编辑  收藏  举报