Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
別のブランチにチェックアウトする前に、あるブランチからの変更を保存する必要がある場合、git は時々、「別のブランチにチェックアウトする前に、ファイルをステージングまたはコミットします」と言います。しかし、stash オプションを使用することをお勧めしました。
ファイルをステージングするだけでは、別のブランチにチェックアウトする前にファイルを保存するのに十分ではありませんか?
ステージ ファイルと stash ファイルの違いは何ですか?
ありがとう