LoginSignup
1
1

More than 5 years have passed since last update.

gitで履歴を変えずに特定のファイルを過去の状態に戻す方法

Posted at

履歴を変えずに過去の状態に戻す方法はrevertを使ったコマンドがあるだろうと調べてみたら
特定のファイルのときはやっぱりcheckoutで良かった話

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