Skip to content

Latest commit

ย 

History

History
144 lines (89 loc) ยท 10.1 KB

README.ko.md

File metadata and controls

144 lines (89 loc) ยท 10.1 KB

Open Source Love License: MIT Open Source Helpers

์ฒซ ๊ธฐ์—ฌ

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

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

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

๋งŒ์•ฝ, git์ด ์„ค์น˜๋˜์–ด์žˆ์ง€ ์•Š๋‹ค๋ฉด ์„ค์น˜ํ•˜์„ธ์š”.

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

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

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

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

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

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

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

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

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

์˜ˆ์‹œ:

git clone [email protected]:this-is-you/first-contributions.git

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

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

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

cd first-contributions

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

git switch -c your-new-branch-name

์˜ˆ์‹œ:

git switch -c add-alonzo-church

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

์ด์ œ ํ…์ŠคํŠธ ํŽธ์ง‘๊ธฐ์—์„œ 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 -u origin your-branch-name

your-branch-name ๋ถ€๋ถ„์„ ์กฐ๊ธˆ ์ „์— ์ƒ์„ฑํ•œ ๋ธŒ๋žœ์น˜ ์ด๋ฆ„์œผ๋กœ ๋ณ€๊ฒฝํ•˜์„ธ์š”.

ํ‘ธ์‹œํ•˜๋Š” ์ค‘์— ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค๋ฉด, ์—ฌ๊ธฐ๋ฅผ ํด๋ฆญํ•˜์„ธ์š”:
  • Authentication Error

    remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
    remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
    fatal: Authentication failed for 'https://github.com//first-contributions.git/'
    ๊นƒํ—ˆ๋ธŒ ํŠœํ† ๋ฆฌ์–ผ๋กœ ์ด๋™ํ•ด์„œ ๋ณธ์ธ์˜ ๊ณ„์ •์— SSH key ์ƒ์„ฑ ๋ฐ ์„ค์ •์— ๋Œ€ํ•œ ์ •๋ณด๋ฅผ ์–ป์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

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

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

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

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

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

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

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

์ถ•ํ•˜ํ•ฉ๋‹ˆ๋‹ค! ์•ž์œผ๋กœ ๊ธฐ์—ฌ์ž๋กœ์„œ ์ž์ฃผ ์‚ฌ์šฉํ•˜๊ฒŒ๋  ๊ธฐ๋ณธ ์›Œํฌํ”Œ๋กœ์šฐ์ธ ํฌํฌ(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

This project is supported by: