LoginSignup
9
7

More than 5 years have passed since last update.

git stashで特定のファイルだけ引き出す

Posted at

やり方

git checkout stash@{N} ファイル名
  • で行ける(Nは任意の数字)
  • popではないのでstashは残る

stash一覧確認

git stash list

stashで変更を隠したファイルの確認

git stash show stash@{N}

各ファイルの詳細な変更点

git stash show -p stash@{N}
9
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
7