Git

[오류 / Git] fatal: It seems that there is already a rebase-merge directory ...

pangyoelon 2022. 10. 7. 14:05
fatal: It seems that there is already a rebase-merge directory,
and I wonder if you are in the middle of another rebase.
If that is the case, please try
	git rebase (--continue | --abort | --skip) 
If that is not the case, please 
	rm -fr ".git/rebase-merge"
and run me again.
I am stopping in case you still have something valuable there.

git rebase를 연습하는데 위와 같은 오류가 떴다.

 

'fatal : 이거 보아하니 니가 rebase-merge 중인 게 있는 거 같은데, 너가 다른 rebase를 하는 중인지 궁금하다.'

rabase를 하는 도중 vsc를 꺼서 발생한 에러였다

 

git rebase --quit

이럴땐 quit하고 다시 rebase 하는 게 편하다고 합니다

 

 

 

출저 : https://stackoverflow.com/questions/19134845/forgotten-rebase-interactive-git

 

Forgotten rebase interactive - git

I ran some times ago some git rebase -i command. But I completely forgot it. Now I want to change new commits order. So I ran git rebase -i HEAD~4, and I get normally It seems that there is alrea...

stackoverflow.com

 

 

'Git' 카테고리의 다른 글

현업에서의 형상관리  (0) 2023.08.18
깃허브 옵션 구글링 할 때 주의점  (2) 2023.02.25