LoginSignup
1
1

More than 5 years have passed since last update.

スタッシュから指定ファイルだけをチェックアウトする

Last updated at Posted at 2014-11-21

「スタッシュから一部ファイルだけ取り出したい!」場合は以下の通り作業します。

1.スタッシュ名の確認

stash@{0} な感じのがスタッシュ名。

git stash list

2.スタッシュ内ファイル一覧の確認

git stash show <スタッシュ名>

3.チェックアウト

git checkout <スタッシュ名> <ファイル名>
1
1
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
1
1