2017-06-22 22 views
0

git stash popgit stash dropの違いは?git stash popとstash dropの違い

どちらもおしゃれを取り除いています。

+0

'スタッシュのpop'は'スタッシュapply' + 'スタッシュdrop'で、ある' gitのstash' https://git-scm.com/docs/git-stash – YoannFleuryDev

答えて

2

git stash popは、最上部の隠れた状態を取り除き、現在の作業ツリーの上に適用します。一方、git stash dropは、その状態を適用するだけで削除します。ここで

+0

のための公式ドキュメントです。 – phd

関連する問題