Skip to content

๐Ÿ“— ๋ธŒ๋žœ์น˜ & ์ปค๋ฐ‹ ์ปจ๋ฒค์…˜

Hyeonsu Lee edited this page Sep 10, 2024 · 5 revisions

๋ธŒ๋žœ์น˜ ์ „๋žต

  • main: ๊ธฐ๋Šฅ ๋ฐฐํฌํ•˜๋Š” ๋ธŒ๋žœ์น˜
  • develop: ๊ธฐ๋Šฅ๋“ค์ด ๋‹ค ํ•ฉ์ณ์ง€๋Š” ๋ธŒ๋žœ์น˜ (stage ๋ฐฐํฌ ๋ธŒ๋žœ์น˜)
  • [type]: ๊ฐ๊ฐ์˜ ๊ธฐ๋Šฅ๋“ค์ด ๊ฐœ๋ฐœ๋˜๋Š” ๋ธŒ๋žœ์น˜
    • ๋ธŒ๋žœ์น˜์ข…๋ฅ˜/์ด์Šˆ๋ฒˆํ˜ธ-์ž‘์—…๋‚ด์šฉ_์š”์•ฝ
    • ์˜ˆ์‹œ
      • feature/1-๊ฒŒ์‹œ๊ธ€_์ž‘์„ฑ
      • refactor/1234-๋ฒ„ํŠผ-์„ฑ๋Šฅ-๊ฐœ์„ 
    • merge๊ฐ€ ๋˜๋ฉด git pull origin develop ํ•„์ˆ˜
  • push ํ•˜๊ธฐ ์ „ ์ฝ”๋“œ ํฌ๋งทํŒ… ์ฒดํฌ
  • ์ž‘์—… ์™„๋ฃŒ์‹œ, ์•„๋ž˜์˜ ์ปค๋ฐ‹ ์ปจ๋ฒค์…˜์„ ์ฐธ๊ณ ํ•˜์—ฌ push ์ง„ํ–‰

Pull Request

  • Pull Request(PR) ๋‚ ๋ฆฌ๊ธฐ -> ์•ž ์„  ์˜ˆ์‹œ ์ฐธ๊ณ ํ•˜๋ฉด ์ข‹์Œ(push ์งํ›„๋ผ๋ฉด ์ž๋™ PR ๋ฒ„ํŠผ ์ƒ์„ฑ)
  • ๋ฆฌ๋ทฐ๊ฐ€ ๋‹ฌ๋ฆฌ๋ฉด ๋ฆฌ๋ทฐ ์‚ฌํ•ญ ๋ฐ˜์˜(์ดํ›„๋Š” ๊ทธ๋ผ์šด๋“œ ๋ฃฐ ์ฐธ๊ณ )

Merge ์ •์ฑ…

๋ธŒ๋žœ์น˜๋ณ„ merge ์ „๋žต์€ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ๊ฐ€์ ธ๊ฐ„๋‹ค.

  • feature -> develop : Squash and Merge
  • develop -> main : Merge Commit

์ด์Šˆ, ์ปค๋ฐ‹ ์ •์ฑ…

ํƒ€์ž… ์„ค๋ช…
feat ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ์ถ”๊ฐ€
fix ๋ฒ„๊ทธ ์ˆ˜์ •
docs ๋ฌธ์„œ ๊ด€๋ จ
design ๋””์ž์ธ, CSS
style ์ฝ”๋“œ ์Šคํƒ€์ผ
build ๋นŒ๋“œ ํ™˜๊ฒฝ
chore ์ž์ž˜ํ•œ ์ˆ˜์ • (ํŒŒ์ผ/ํด๋”์˜ ์ด๋ฆ„/์œ„์น˜ ์ˆ˜์ •)
hotfix ํ”„๋กœ๋•์…˜ ์„œ๋ฒ„ ์˜ค๋ฅ˜ ์ˆ˜์ •

์—ฌ๊ธฐ์„œ hotfix๋ฅผ ์ด์šฉํ•˜๋Š” ๊ฒฝ์šฐ, ๊ผญ ๋™์ผ ๋ธŒ๋žœ์น˜๋กœ develop์— ๋™์ผํ•˜๊ฒŒ ์ผ๋ฐ˜ merge ํ•„์ˆ˜!! (PR์„ 2๊ฐœ ๋ณด๋‚ด์•ผ ํ•จ)

Clone this wiki locally