κ°μ§ κ°λ°μ CS μ€ν°λ μ λλ€! λ°νν λ΄μ©κ³Ό λ°ν μ€μ λμλ μ§λ¬Έμ λν λ΅λ³μ λͺ¨μ λμ Repository μ λλ€.
μμ μ¬νμ΄λ μΆκ° μ¬νμ΄ μλ€λ©΄ Commit κ·μΉ
μ λ§μΆ° PR λΆνλλ¦¬κ² μ΅λλ€!
- λ°νμ λ°ν
- λ°ν μλ£κ° μλ€λ©΄ λ°νμ λμμ λ³Ό μ μκ² λ¨Όμ 곡μ
- λ°ν λ°©μμ μμ
- ex) μμ μ²λΌ λ΅λ³μ μ λλ λ°©μ, μ½λλ‘ μ€λͺ νλ λ°©μ, 컨νΌλ°μ€ κ°μ λ°©μ
- λ°νκ° λλλ©΄ λμ€μ½λ μμ±μ±λμμ λλ€μ μμ(μμμλΆν°)μ λ°λΌ μ§λ¬Έ
- λ°ν μλ£μ μ§λ¬Έκ³Ό λ΅λ³λ λ£μ΄μΌ νκΈ° λλ¬Έμ μ§λ¬Έκ³Ό λ΅λ³μ κΈ°μ΅νκ³ μμ΄μΌ ν¨
- μ§λ¬Έμ λν λ°νμλ λ€λ₯Έ μ€ν°λμμ λ΅λ³μ΄ νλ€μ΄μ§λ©΄, κ°μ 5λΆλμ κ·Έμ λν μ 보λ₯Ό κ²μ
- κ²μ ν, λ°νμκ° μ°μ μΌλ‘ λ΅λ³
- λ΅λ³μ κ΄νμ¬ λ§ λΆμΌ λ΄μ©μ΄ μλ€λ©΄ λ°νμ λ€μμΌλ‘ λ΅λ³ κ°λ₯
- λ°νμ λ€μ μ£Όμ μ μ
- λ°νμμ λ°ν μλ£μ μ§λ¬Έ λ΄μ©μ μΆκ°νκ³ Git hub Repoμ
PR(Pull Requests)
- λ°ν μλ£ νμΌ μ΄λ¦μ λ°ν μ£Όμ λ‘
ex) process,thread
- λ°ν μλ£ νμΌ μ΄λ¦μ λ°ν μ£Όμ λ‘
- μ§λ¬Έμκ° μ§λ¬Έμ λν λ΅λ³ + μ΄ν΄ν λ΄μ©μ μ 리νμ¬
PR(Pull Requests)
- λ°ν μλ£λ μ§λ¬Έμ λ΅λ³μ λν μΆκ°μ μΈ λ΄μ©μ΄λ μμ μ¬νμ΄ μλ€λ©΄ λ€λ₯Έ μ€ν°λμ(λ°νμ ν¬ν¨)μ΄ λ°νμλ£κ° μ¬λΌκ° ν PR κ°λ₯
μν : [μΉ΄ν
κ³ λ¦¬] μ£Όμ - λ΄μ©
ex) ADD : [μ΄μ체μ ] νλ‘μΈμ€,μ€λ λ - λ°ν μλ£ μΆκ°
μν λ©μΈμ§ | μ€λͺ |
---|---|
ADD | λ¬Έμ λ±μ μΆκ°κ° μμ λ μ¬μ©ν©λλ€ |
REMOVE | λ¬Έμ λ±μ μμ κ° μμ λ μ¬μ©ν©λλ€. |
UPDATE | λ΄μ© μΆκ°κ° μμ λ μ¬μ©ν©λλ€. |
FIX | λ³΄ν΅ μ¬λ°λ₯΄μ§ μμ λ΄μ©μ κ³ μΉ κ²½μ°μ μ¬μ©ν©λλ€. |
CORRECT | μ£Όλ‘ μ€ν μμ , μ΄λ¦ λ³κ²½ λ±μ μ¬μ©ν©λλ€. |
μ€νμμ€ νλ‘μ νΈ μ°Έμ¬νλ λ°©λ²(PRνλ λ°©λ²)