首页 > 其他 > 详细

git stash的常用操作

时间:2021-06-03 14:12:45      阅读:10      评论:0      收藏:0      [点我收藏+]

列出stash的:      git stash list
移除stash:         git stash drop stash@{0}
查看stash:         git stash show stash@{0}
查看stash的diff: git stash show stash@{0} -p
保存stash:         git stash save "这里是备注"
应用stash:         git stash apply stash@{0}
弹出stash:         git stash pop stash@{0}(不写后面则默认是弹出第一个)
清空stash:         git stash clear

git stash的常用操作

原文:https://www.cnblogs.com/byqin/p/14844553.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!