Guide - woosuk-computer-engineering/curriculum GitHub Wiki
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
Clone
-
"https://github.com/woosuk-computer-engineering/curriculum.git" ๋ฅผ ๋ก์ปฌ ์ ์ฅ์์ ํด๋ก ๋ฐ์ต๋๋ค.
git clone https://github.com/woosuk-computer-engineering/curriculum.git
Add Issue
-
์ด์ ํ์ด์ง๋ก ์ด๋ํฉ๋๋ค.
-
New issue ๋ฒํผ์ ํด๋ฆญํฉ๋๋ค.
-
Assignees ๋ฑ๋ก ๋ณธ์ธ ์์ด๋๋ฅผ ์ ํํฉ๋๋ค.
-
Label ๋ฑ๋ก ์ด์ ์ํฉ์ ๋ง๋ ๋ผ๋ฒจ์ ๋ฑ๋กํฉ๋๋ค.
-
์์
Branch
-
๋ธ๋์น ๋ง๋ค๊ธฐ
-
๋ธ๋์น ๊ท์น : {๋ณธ์ธ์ด๋ฆor๋๋ค์}/{feature/modify/fix/refactor}#{์ด์๋ฒํธ}
์์:) ๊ธฐ๋ฅ์ถ๊ฐ ์ด์ : yunhes45/feature#1 ๊ธฐ๋ฅ์์ ์ด์ : yunhes45/modify#2 ๋ฒ๊ทธ์์ ์ด์ : yunhes45/fix#3 ๋ฆฌํฉํ ๋ง ์ด์ : yunhes45/refactor#4
-
ex) git branch yunhes45/feature#1
-
-
๋ธ๋์น ์ด๋
- git checkout yunhes45/feature#1
-
๋ธ๋์น์ ํด๋นํ๋ ์์ ์ ์งํ
Commit
-
๋ชจ๋ ๋ณ๊ฒฝ์ฌํญ ์คํ ์ด์ง
git add .
-
commit
-
์ปค๋ฐ ๊ท์น : [#{์ด์๋ฒํธ}] {feat/fix/refactor/modify/chore}: {๋ด์ฉ}
-
์์:) [#1] feat: ํ์ดํ ์์
-
git commit -m "[#1] feat: ํ์ดํ ์์ "
-
Push
git push origin yunhes45/feature#1 <-- ์ปค๋ฐํ ๋ธ๋์น๋ช
Pull request
-
Pull request ๋ณด๋ด๊ธฐ
๋ณธ์ธ์ด ๋ง๋ ๋ธ๋์น์ ํธ์ฌ๋ฅผ ํ๋ฉด ๋ค์๊ณผ ๊ฐ์ด ํ ๋ฆฌํ์คํธ๋ฅผ ๋ณด๋ผ ์ ์๋ ํ์ ์ด ๋ํ๋ฉ๋๋ค.
Compare&pull request ํด๋ฆญ
- base : ๋ณํฉํ ๋ธ๋์น (๊ธฐ๋ณธ:develop)
- compare : ๋ณํฉ๋ ๋ธ๋์น
- Title : ํ๋ฆฌํ์คํธ ์ ๋ชฉ
- Contents : ํ๋ฆฌํ์คํธ ๋ด์ฉ
- Reviewers : ํ๋ฆฌํ์คํธ๋ฅผ ๊ฒํ ํ ์ฌ๋(๋ณธ์ธ ์ ์ธ ๋๋ช ์ ํ)
- Assignees : ํ ๋น์(๋ณธ์ธ ์ ํ)
- Labels : ๊ด๋ จ๋ ๋ผ๋ฒจ ์ ํ
-
Review & Comment
-
Review
Pull request์ Files changeํญ์ ํด๋ฆญํ์ฌ ์ ๋ฐ์ดํธ๋ ์ฝ๋๋ฅผ ํ์ธํ ์ ์์
-
Comment
ํ๋ฆฌํ์คํธ์ ๋ํ ๋๊ธ(๊ฑด์/์์ฒญ)
-
-
Pull Request ๋ฐ๊ธฐ
Merge Pull request ๋ฒํผ ํด๋ฆญ Confirm merge ํด๋ฆญ ์ถฉ๋์ด ์์ผ๋ฉด ์ถฉ๋์ ํด๊ฒฐํ๊ณ merge ์์ผ๋ฉด ๋ฐ๋ก merge
develop ๋ธ๋์น์ ์ปค๋ฐ์ ํ์ธํ๋ฉด merge๋๊ฒ์ ํ์ธํ ์ ์์