LoginSignup
120
73

More than 5 years have passed since last update.

git reset --soft abac987

でファイルを戻そうとすると、戻すべき場所を間違えた。
なので git reset をなかったことにする。

git reflog

スクリーンショット 2017-05-17 12.38.50.png

これで戻したいところの場所を調べて

git reset --soft HEAD@{1}
120
73
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
120
73