hg 中git stash
、git stash apply
和的等效命令是什么git stash pop
?
暂时搁置您的更改:
Mercurial
hg commit [-s]
是首选
hg shelve
不推荐
git
git stash
清单更改已收起
水银 hg xl
或hg shelve -l
git
git stash list
查看入库变更
水银
hg diff -c <rev>
或hg shelve -p <name>
git
git stash show <name>
恢复入库变更
水银
hg uncommit --no-keep
或hg unshelve
git
git stash pop
恢复已存放的更改但将其保留在堆栈中
Mercurial
继续修改 或
hg uncommit --keep
或
hg unshelve --keep
git
git stash apply