旅するえんじにあ - Engineers to Travel -

旅するエンジニアの気まま備忘録

【git】git rebase しようとしたらエラーになった

git rebaseしようとしたら何故かエラーが出た。 記憶にはないけど、どうやらrebase途中のものがあったらしい。

 $ git rebase origin/develop

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-applyを見ればわかることなんだけど、特にrebase途中でもその変更が必要なければ消してしまう。$ rm-fR .git/rebase-apply消したらgit rebaseも出来ました。