Skip to content

Latest commit

ย 

History

History
135 lines (79 loc) ยท 8.23 KB

README.ko.md

File metadata and controls

135 lines (79 loc) ยท 8.23 KB

Open Source Love License: MIT Open Source Helpers

์ฒซ ๊ธฐ์—ฌ

๋ฌด์—‡์„ ํ•˜๋“  ๋ˆ„๊ตฌ๋‚˜ ์ฒ˜์Œ์—๋Š” ์–ด๋ ต๊ฒŒ ๋Š๊ปด์ง‘๋‹ˆ๋‹ค. ํŠนํžˆ ํ˜‘์—…์„ ํ•  ๋•Œ ์‹ค์ˆ˜๋ฅผ ํ•˜๊ธฐ๋ผ๋„ ํ•˜๋ฉด ๋งˆ์Œ์ด ํŽธ์น˜ ์•Š์Šต๋‹ˆ๋‹ค. ๊ทธ๋ž˜์„œ ์ €ํฌ๋Š” ์ƒˆ๋กœ์šด ์˜คํ”ˆ์†Œ์Šค ๊ธฐ์—ฌ์ž๋“ค์ด ์ฒซ ๊ธฐ์—ฌ๋ฅผ ํ•˜๊ณ  ๊ทธ๊ฒƒ์„ ์ตํžˆ๋Š” ๊ณผ์ •์„ ๋‹จ์ˆœํ™”ํ•˜๊ณ ์ž ํ–ˆ์Šต๋‹ˆ๋‹ค.

๋ฌผ๋ก  ๊ด€๋ จ ๊ธ€์„ ์ฝ๊ฑฐ๋‚˜ ํŠœํ† ๋ฆฌ์–ผ์„ ๋ณด๋Š” ๊ฒƒ๋„ ๋„์›€์ด ๋˜์ง€๋งŒ, ์—ฐ์Šต๊ณต๊ฐ„์—์„œ ์ง์ ‘ ํ•ด๋ณด๋Š” ๊ฒƒ๋ณด๋‹ค ๋‚˜์€ ๋ฐฉ๋ฒ•์ด ์žˆ์„๊นŒ์š”? ์ด ํ”„๋กœ์ ํŠธ์˜ ๋ชฉํ‘œ๋Š” ์ดˆ๋ณด์ž๋„ ์ฒซ ์˜คํ”ˆ์†Œ์Šค ๊ธฐ์—ฌ๋ฅผ ํ•  ์ˆ˜ ์žˆ๋„๋ก ๋‹จ์ˆœํ•œ ๋ฐฉ์‹์œผ๋กœ ์•ˆ๋‚ดํ•˜๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. ์ฒซ ๊ธฐ์—ฌ๋ฅผ ํ•˜๊ณ  ์‹ถ์œผ์‹œ๋‹ค๋ฉด ์•„๋ž˜์˜ ์„ค๋ช…์„ ๋”ฐ๋ผ์ฃผ์„ธ์š”.

๋งŒ์•ฝ ๋ช…๋ น์ค„์„ ์ด์šฉํ•˜๋Š” ๊ฒƒ์ด ์ต์ˆ™ํ•˜์ง€ ์•Š๋‹ค๋ฉด, GUI ๋„๊ตฌ ํŠœํ† ๋ฆฌ์–ผ์„ ์ฐธ๊ณ ํ•˜์„ธ์š”.

์ปค๋งจ๋“œ ๋ผ์ธ ์‚ฌ์šฉ์— ์ต์ˆ™์น˜ ์•Š์œผ์‹œ๋‹ค๋ฉด ์ด๊ณณ์—์„œ GUI ํˆด์— ๋Œ€ํ•œ ํŠœํ† ๋ฆฌ์–ผ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ด ์ €์žฅ์†Œ ํฌํฌํ•˜๊ธฐ

๊ฐ€์žฅ ๋จผ์ €, Git์ด ์—†์œผ์‹œ๋‹ค๋ฉด ์„ค์น˜ํ•ด์ฃผ์„ธ์š”.

์ €์žฅ์†Œ ํฌํฌํ•˜๊ธฐ

์ด ํŽ˜์ด์ง€์˜ ์ƒ๋‹จ์— ์žˆ๋Š” Fork ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ ์ด ์ €์žฅ์†Œ๋ฅผ ํฌํฌํ•˜์„ธ์š”. ๊ทธ๋Ÿฌ๋ฉด ๋ณธ์ธ์˜ GitHub ๊ณ„์ •์— ์ด ์ €์žฅ์†Œ์˜ ๋ณต์ œ๋ณธ์ด ์ƒ์„ฑ๋  ๊ฒƒ์ž…๋‹ˆ๋‹ค.

์ €์žฅ์†Œ ํด๋ก ํ•˜๊ธฐ

์ด ์ €์žฅ์†Œ ๋ณต์ œํ•˜๊ธฐ

์ด์ œ ์ด ์ €์žฅ์†Œ๋ฅผ ์ž์‹ ์˜ ๊ธฐ๊ธฐ์— ํด๋ก ํ•ฉ๋‹ˆ๋‹ค. GitHub ๊ณ„์ •์œผ๋กœ ๊ฐ€์„œ, fork๋œ ์ €์žฅ์†Œ๋ฅผ ์—ด๊ณ , Code ๋ฒ„ํŠผ์„ ๋ˆŒ๋Ÿฌ ํด๋ฆฝ๋ณด๋“œ๋กœ ๋ณต์‚ฌ ์•„์ด์ฝ˜์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

ํ„ฐ๋ฏธ๋„์„ ์—ด๊ณ  ๋‹ค์Œ Git ๋ช…๋ น์„ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค:

git clone "๋ฐฉ๊ธˆ ๋ณต์‚ฌํ•œ URL"

์œ„์— (๋”ฐ์˜ดํ‘œ๋ฅผ ์ œ์™ธํ•œ) "๋ฐฉ๊ธˆ ๋ณต์‚ฌํ•œ URL"์€ ์ด ์ €์žฅ์†Œ์˜ URL์ž…๋‹ˆ๋‹ค. URL์€ ์ด์ „ ๋‹จ๊ณ„์—์„œ ์ฐพ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

URL ์„ ํด๋ฆฝ๋ณด๋“œ๋กœ ๋ณต์‚ฌ

์˜ˆ์‹œ:

git clone https://github.com/this-is-you/first-contributions.git

์˜ˆ์‹œ์˜ this-is-you๋Š” ๋ณธ์ธ์˜ GitHub ๊ณ„์ •์œผ๋กœ ๋ฐ”๊พธ์–ด์ฃผ์„ธ์š”. ์ด ๋ช…๋ น์–ด๋Š” ๊นƒํ—™์˜ first-contributions ์ €์žฅ์†Œ์˜ ๋‚ด์šฉ์„ ๋กœ์ปฌ ์ปดํ“จํ„ฐ์— ๋ณต์‚ฌํ•ฉ๋‹ˆ๋‹ค.

๋ธŒ๋žœ์น˜ ์ƒ์„ฑํ•˜๊ธฐ

(์•„์ง ์ €์žฅ์†Œ ๋””๋ ‰ํ† ๋ฆฌ์— ์žˆ์ง€ ์•Š๋‹ค๋ฉด) ์•„๋ž˜์˜ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•˜์—ฌ ์กฐ๊ธˆ ์ „์— ๋กœ์ปฌ ์ปดํ“จํ„ฐ์— ๋ณต์‚ฌํ•œ ์ €์žฅ์†Œ ๋””๋ ‰ํ† ๋ฆฌ๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.

cd first-contributions

๊ทธ๋ฆฌ๊ณ  git checkout ๋ช…๋ น์–ด์„ ์ž…๋ ฅํ•˜์—ฌ ๋ธŒ๋žœ์น˜๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.

git checkout -b your-new-branch-name

์˜ˆ์‹œ:

git checkout -b add-alonzo-church

(๋ธŒ๋žœ์น˜์˜ ์ด๋ฆ„์— ๊ผญ add๊ฐ€ ๋“ค์–ด๊ฐ€์ง€ ์•Š์•„๋„ ๋ฉ๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ์ด ๋ธŒ๋žœ์น˜์˜ ๋ชฉ์ ์€ ๋‹น์‹ ์˜ ์ด๋ฆ„์„ ๋ฆฌ์ŠคํŠธ์— ์ถ”๊ฐ€ํ•˜๋Š” ๊ฒƒ์ด๊ธฐ ๋•Œ๋ฌธ์— ์ด๋ฆ„์— add๋ฅผ ํฌํ•จํ•˜๋Š” ๊ฒƒ์ด ํ•ฉ๋ฆฌ์ ์ž…๋‹ˆ๋‹ค.)

ํ•„์š”ํ•œ ๋ณ€๊ฒฝ์‚ฌํ•ญ์„ ์ž‘์„ฑํ•˜๊ณ  ์ปค๋ฐ‹ํ•˜๊ธฐ

์ด์ œ ํ…์ŠคํŠธ ํŽธ์ง‘๊ธฐ์—์„œ Contributors.md ํŒŒ์ผ์„ ์—ด๊ณ , ๋ณธ์ธ์˜ ์ด๋ฆ„์„ ์•„๋ž˜์™€ ๊ฐ™์ด ์ถ”๊ฐ€ํ•ด์ฃผ์„ธ์š”. ์ด๋•Œ ๋งจ ์ฒ˜์Œ์ด๋‚˜ ๋งจ ๋์„ ์ œ์™ธํ•œ ์ค‘๊ฐ„์— ๋งˆ์Œ์— ๋“œ๋Š” ๊ณณ์— ์ถ”๊ฐ€ํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ  ํŒŒ์ผ์„ ์ €์žฅํ•˜์„ธ์š”.

git status

ํ”„๋กœ์ ํŠธ ๋””๋ ‰ํ„ฐ๋ฆฌ์—์„œ git status ๋ช…๋ น์„ ์‹คํ–‰ํ•˜๋ฉด ๋ณ€๊ฒฝ์‚ฌํ•ญ์„ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋ณ€๊ฒฝ์‚ฌํ•ญ์„ git add ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•˜์—ฌ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

git add Contributors.md

์ด์ œ git commit ๋ช…๋ น์–ด๋กœ ๋ณ€๊ฒฝ์‚ฌํ•ญ์„ ์ปค๋ฐ‹ํ•ฉ๋‹ˆ๋‹ค.

git commit -m "Add <your-name> to Contributors list"

<your-name>์„ ๋ณธ์ธ ์ด๋ฆ„์œผ๋กœ ๋ฐ”๊พธ์„ธ์š”.

๋ณ€๊ฒฝ์‚ฌํ•ญ์„ ๊นƒํ—™์— ํ‘ธ์‹œํ•˜๊ธฐ

git push ๋ช…๋ น์–ด๋กœ ๋ณ€๊ฒฝ์‚ฌํ•ญ์„ ํ‘ธ์‹œํ•ฉ๋‹ˆ๋‹ค.

git push origin <add-your-branch-name>

<add-your-branch-name>์„ ์กฐ๊ธˆ ์ „์— ์ƒ์„ฑํ•œ ๋ธŒ๋žœ์น˜ ์ด๋ฆ„์œผ๋กœ ๋ฐ”๊พธ์„ธ์š”.

๊ฒ€ํ† ๋ฅผ ์œ„ํ•ด ๋ณ€๊ฒฝ์‚ฌํ•ญ์„ ์ œ์ถœํ•˜๊ธฐ

์ด์ œ ๋ณธ์ธ์˜ GitHub ์ €์žฅ์†Œ๋กœ ์ด๋™ํ•˜๋ฉด Compare & pull request ๋ฒ„ํŠผ์ด ๋ณด์ผ ๊ฒƒ ์ž…๋‹ˆ๋‹ค. ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์„ธ์š”.

ํ’€ ์š”์ฒญ
์ƒ์„ฑํ•˜๊ธฐ

์ด์ œ ํ’€ ์š”์ฒญ(Pull Request)์„ ์ œ์ถœํ•ฉ๋‹ˆ๋‹ค.

ํ’€ ์š”์ฒญ ์ œ์ถœํ•˜๊ธฐ

์ด์ œ ์—ฌ๋Ÿฌ๋ถ„์˜ ๋ณ€๊ฒฝ์‚ฌํ•ญ์„ ๋‹ด๋‹น์ž๊ฐ€ ํ™•์ธํ•œ ํ›„์— ๋งˆ์Šคํ„ฐ ๋ธŒ๋žœ์น˜์— ๋จธ์ง€ํ•˜๊ฒŒ ๋˜๋ฉด ์•Œ๋ฆผ ๋ฉ”์ผ์„ ๋ฐ›์œผ์‹ค ๊ฒƒ์ž…๋‹ˆ๋‹ค.

์ฒซ ๊ธฐ์—ฌ, ๊ทธ๋ฆฌ๊ณ  ๊ทธ ํ›„

์ถ•ํ•˜ํ•ฉ๋‹ˆ๋‹ค! ์•ž์œผ๋กœ ๊ธฐ์—ฌ์ž๋กœ์„œ ์ž์ฃผ ์‚ฌ์šฉํ•˜๊ฒŒ ๋  ๊ธฐ๋ณธ ์›Œํฌํ”Œ๋กœ์šฐ, ํฌํฌ(fork) -> ํด๋ก (clone) -> ์ˆ˜์ •(edit) -> ํ’€ ์š”์ฒญ(pull request), ๋ฅผ ์™„์ˆ˜ํ•˜์…จ์Šต๋‹ˆ๋‹ค!

์ฒซ ๊ธฐ์—ฌ์— ๋Œ€ํ•œ ์†Œ์‹์„ ์นœ๊ตฌ๋“ค ๋ฐ ํŒ”๋กœ์›Œ์—๊ฒŒ ์›น ์•ฑ์„ ํ†ตํ•ด ๊ณต์œ ํ•ด๋ณด์„ธ์š”.

๊ทธ๋ฆฌ๊ณ  ๋„์›€์ด ํ•„์š”ํ•˜๊ฑฐ๋‚˜ ์งˆ๋ฌธ์ด ์žˆ๋‹ค๋ฉด ์ €ํฌ์˜ slack ์—์„œ ์š”์ฒญํ•ด๋ณด์„ธ์š”. โ†’ slack ํŒ€ ๊ฐ€์ž…ํ•˜๊ธฐ

์ด์ œ ๋‹ค๋ฅธ ํ”„๋กœ์ ํŠธ์—๋„ ๊ธฐ์—ฌํ•ด๋ณด์„ธ์š”! ์ง€๊ธˆ ๋ฐ”๋กœ ์‹œ์ž‘ํ•  ์ˆ˜ ์žˆ๋Š” ๋‚œ์ด๋„๊ฐ€ ๋‚ฎ์€ ์ด์Šˆ๋“ค๋กœ ๊ฐ€๋“์ฐฌ ๋ชฉ๋ก์ด ์žˆ์Šต๋‹ˆ๋‹ค. ์›น์•ฑ์˜ ํ”„๋กœ์ ํŠธ ๋ชฉ๋ก์—์„œ ํ™•์ธํ•ด๋ณด์„ธ์š”.

๋‹ค๋ฅธ ๋„๊ตฌ๋“ค์— ๊ด€ํ•œ ํŠœํ† ๋ฆฌ์–ผ

GitHub Desktop Visual Studio 2017 GitKraken VS Code Sourcetree App IntelliJ IDEA
GitHub Desktop Visual Studio 2017 GitKraken Visual Studio Code Atlassian Sourcetree IntelliJ IDEA