PR 및 PR Merge 전에 실행해야 할 명령어

frontend/DANG-0 > git fetch origin main
frontend/DANG-0 > git rebase origin/main
# rebase 충돌 시 충돌 해결 후 (그 양이 너무 많은 경우 git rebase --abort로 rebase 중단 가능)
frontend/DANG-0 > git add .
frontend/DANG-0 > git rebase --continue
frontend/DANG-0 > git push [-f]

PR Merge 방법

Merge commit을 만들어 병합하는 방식 사용

Untitled.png

스크린샷 2024-06-02 223038.png

스크린샷 2024-06-02 223313.png

※ 항상 최신 branch에서 병합

Untitled

Branch Naming Convention

[역할]/[Task-ID]

ex) frontend/DANG-1
		backend/DANG-2
		infra/DANG-3

Task-Id는 고유 식별자로 중복될 수 없습니다.

PR Title Convention

frontend/DANG-1: PR에서 수행한 작업 간략히 설명
backend/DANG-2: PR에서 수행한 작업 간략히 설명
infra/DANG-3: PR에서 수행한 작업 간략히 설명

Commit Message

udacity 가이드 형식 차용: https://udacity.github.io/git-styleguide/

Commit Message 형식

type: subject

body(optional)

footer(optional)