nugawiki

./categories/dev-ops

Git Branch 협업

업데이트 2026-07-21 조회수

Git Flow 브랜치

  • main — 배포 이력(태그)
  • hotfix — 배포 후 긴급 수정
  • release — 배포 준비
  • develop — feature 병합
  • feature — 기능 개발

feature → develop

git clone [Repository URL]
git branch develop
git push -u origin develop

git branch feature_test develop
git add test.html
git commit -m "수정내용"
git push --set-upstream origin feature_test
  1. GitHub Compare & pull request → base=develop → 리뷰어 지정 → Create
  2. Merge pull request → Confirm → 필요 시 feature 브랜치 삭제

./comments