checkoutを使います。
git checkout [コミットハッシュ or ブランチ] [path...]
例えば、ファイルhoge/fuga.txtをブランチdevelopのHEADに戻したい場合、以下のようにします。
git checkout develop hoge/fuga.txt
checkoutを使います。
git checkout [コミットハッシュ or ブランチ] [path...]
例えば、ファイルhoge/fuga.txtをブランチdevelopのHEADに戻したい場合、以下のようにします。
git checkout develop hoge/fuga.txt