LoginSignup
0
0

More than 3 years have passed since last update.

git pull --rebaseを取り消す方法

Posted at

git reflogして

9102cb2 (HEAD -> hogehoge_branch) HEAD@{0}: rebase finished: returning to refs/heads/hogehoge_branch
省略
50859b6 (origin/develop) HEAD@{10}: pull --rebase origin develop: checkout 50859b63d2ec7911ba6ef791e80324a56077d841

こんな感じのが出力されるので、git reset --hard HEAD@{11}したらよい(head番号はもちろん変わります)

0
0
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
0
0