Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main branch 관련 논의 #15

Open
ghost opened this issue Dec 29, 2020 · 0 comments
Open

main branch 관련 논의 #15

ghost opened this issue Dec 29, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 29, 2020

일단 죄송하다는 말씀 드립니다.

main 에서 develop 브랜치가 파생되었기 때문에
main에서 git merge develop 을 시도하였습니다
그러나 conflict 가 일어났습니다

이제 이 conflict 를 수정하려고 하는데...
이리저리 아무리 시도해보아도 제대로 merge 가 되지 않았습니다
분명 develop 에 있는 파일들 모두가 main으로 가져와져야 하는데
항상 일부만 가져오는 것입니다.

그래서 몇시간 동안 삽질한 결과... 지금의 main을 제대로 업데이트하는 것이 불가능하다고 생각되었습니다

여기에 사실... 제가 실수로 git push -f 를 중간에 사용해버려서 지금 main 브랜치가 develop 에 덮어씌워졌습니다...
현재 main 브랜치와 develop 브랜치는 아예 동일한 브랜치가 되어버렸습니다
죄송합니다

/

일단은 다음과 같은 대안이 있을 것 같습니다

  1. 현재 main 브랜치를 삭제하고 develop 브랜치를 main 브랜치로 이름을 바꾼 뒤 새로운 develop 브랜치를 판다

  2. 현재 main 브랜치를 삭제하고 develop 브랜치를 기준으로 배포를 진행한다.

/

정말 죄송합니다...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants