Merged
Conversation
[DEPLOY] dev에서 main으로 merge
Merge pull request #178 from debate-timer/develop
[DEPLOY] 배포
[DEPLOY] prod 배포
Merge pull request #247 from debate-timer/develop
[DEPLOY] main으로 배포 진행
Merge pull request #279 from debate-timer/develop
[deploy] prod 배포
[deploy] prod 배포
Merge pull request #368 from debate-timer/develop
[DEPLOY] 배포
[DEPLOY] 배포
Merge pull request #394 from debate-timer/develop
[DEPLOY] 배포
[DEPLOY] 배포
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
🚀 Preview 배포 완료!
|
|
🧹 Preview 배포가 정리되었습니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚩 연관 이슈
#417, #418, #431
📝 작업 내용
핫픽스 배포에 따른 백 머지를 진행합니다.
백 머지란?
원래는 하위 브랜치(dev)에서 상위 브랜치(main)으로 향하는 게 일반적이나, 백 머지의 경우는 그 방향이 반대이기 때문에 백이라는 이름을 붙이게 됩니다. 이 저장소에서는 main > develop 방향의 머지가 백 머지입니다.
왜 필요한가?
왜 일치하지 않게 되었는가? #418 PR 때문입니다. 고려대학교 FEDC의 템플릿 수정 요청을 신속히 반영하는 과정에서 develop 브랜치를 거치지 않고 바로 main 브랜치로의 병합을 진행했습니다. 즉, develop 브랜치는 main 브랜치에서 발생한 변경 사항을 전혀 모르는 상태입니다. develop 브랜치 역시 핫픽스 내용을 알 수 있게, 그리고 브랜치 헤드를 일치시켜 추후 배포를 진행할 때 충돌이 일어나지 않게, 백 머지를 통해 main 브랜치의 헤드를 develop 브랜치에 일치시켜 주는 것이 백 머지의 의의입니다.
이 저장소에서는 feature 브랜치 > develop 브랜치로의 병합은 Squash commit으로 진행하고 있습니다. 그러나 이 경우, 정확히는 main 브랜치 > develop 브랜치로의 백 머지는 반드시 Merge commit으로 진행해주어야 합니다. 왜냐하면 백 머지의 목적은 동일한 Merge commit을 develop 브랜치와 main 브랜치의 공통 헤드로 둠으로써, 향후 발생할 수 있는 코드 손실이나 충돌을 방지하기 위함이기 때문입니다.
특히, main > develop 백 머지 시에 Squash를 사용하면, 기존 히스토리 연결 고리가 끊어지고 완전히 새로운, 공유되지 않은 단일 커밋이 생성되어 버립니다. 이렇게 되면 다음 배포 시 Git이 두 브랜치의 공통 조상을 찾지 못해 큰 충돌이 발생하게 됩니다. 따라서 두 브랜치의 히스토리 노드를 그대로 연결해 주는 Merge commit을 사용하여 안전하게 공통 헤드를 만들어 주어야 합니다.
🏞️ 스크린샷 (선택)
없음
🗣️ 리뷰 요구사항 (선택)
추후 다음 페이즈 진행할 시, 이와 관련하여 제가 다시 명확히 회의에서 설명을 드리도록 하겠습니다! 핫픽스 배포가 이번이 처음이었어서, 백 머지라는 개념 자체에 대해 팀이 논의할 기회가 없었던 것 같아요. 따라서 팀 내에서도 의견 공유를 해야 할 것 같습니다.