なんか以前のrebaseがやり掛けという状態だったらしく、git pull --rebaseでこんなエラーメッセージ出た。
$ git pull --rebase It seems that I cannot create a rebase-apply directory, and I wonder if you are in the middle of patch application or another rebase. If that is not the case, please rm -fr /home/myuser/dev/App/.git/rebase-apply and run me again. I am stopping in case you still have something valuable there.
最近git rebase
した記憶もないんだけど、メッセージを読む限り、そういうことらしい。git pull --rebase
はちょいちょい使うので、それで何かあったんだろうか。.git/rebase-applyの更新日時は2日前になってたけど、まったく思い当たらない。読めば分かるようなものだけど、原因もよく分からないので、一応メモっておきます。
$ rm -fR .git/rebase-apply
もちろん、消したらgit pull --rebase
も出来ました。
環境
git | 1.7.1.1 |