【问题标题】:Difference between git stash pop and git stash dropgit stash pop 和 git stash drop 的区别
【发布时间】:2017-11-25 13:52:35
【问题描述】:

git stash popgit stash drop的区别?

两者都在删除存储,那么还有什么?

【问题讨论】:

标签: git version-control


【解决方案1】:

git stash pop 删除顶部隐藏状态并将其应用到当前工作树的顶部。另一方面,git stash drop 只是删除该状态,而不是应用它。

【讨论】:

  • stash popstash apply + stash drop
猜你喜欢
  • 2013-02-23
  • 2014-03-11
  • 2017-11-24
  • 2023-03-21
  • 2020-04-01
  • 2012-12-25
  • 1970-01-01
  • 2016-04-09
相关资源
最近更新 更多