qmk_firmware/ko-kr/getting_started_github.md

68 lines
3.5 KiB
Markdown
Raw Normal View History

# QMK์™€ ํ•จ๊ป˜ Github๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•
Github can be a little tricky to those that aren't familiar with it - this guide will walk through each step of forking, cloning, and submitting a pull request with QMK.
Github๋Š” ์ž์ฃผ ์‚ฌ์šฉํ•˜๋Š” ์‚ฌ๋žŒ์ด ์•„๋‹ˆ๋ฉด ์ข€ ์—ฌ๋ ค์šธ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด ๋ฌธ์„œ๋Š” Github๋ฅผ ์‚ฌ์šฉํ•˜๋Š”๋ฐ ํ•„์š”ํ•œ forking, cloning ๊ทธ๋ฆฌ๊ณ  submitting a pull request with QMK๋ฅผ ์„ค๋ช…ํ•  ๊ฒƒ์ž…๋‹ˆ๋‹ค.
?> ์ด ๊ฐ€์ด๋“œ๋Š” ๋‹น์‹ ์ด git์ปค๋งจ๋“œ๋ฅผ ์‚ฌ์šฉํ•˜๋Š”๋ฐ ์ต์ˆ™ํ•˜๊ณ  gitํ™˜๊ฒฝ์„ ๋‹น์‹ ์˜ ์‹œ์Šคํ…œ์ด ์„ค์น˜ํ•˜์˜€๋‹ค๋Š” ์ „์ œํ•˜์— ์ž‘์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.
์•„๋ž˜์™€ ๊ฐ™์ด [QMK Github ํŽ˜์ด์ง€](https://github.com/qmk/qmk_firmware)์—์„œ ๋‹น์‹ ์€ "Fork"๋ผ๊ณ  ์“ฐ์—ฌ์žˆ๋Š” ๋ฒ„ํŠผ์„ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค
![Fork on Github](http://i.imgur.com/8Toomz4.jpg)
๋งŒ์•ฝ ๋‹น์‹ ์ด ์–ด๋Š๊ธฐ๊ด€ ์†Œ์†์ด๊ณ , ๋ฌด์Šจ ๊ณ„์ •์„ ์‚ฌ์šฉํ• ๊ฒƒ์ธ์ง€ ๊ณจ๋ผ์•ผ ํ•œ๋‹ค๋ฉด ๊ฐœ์ธ ๊ณ„์ •์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์„ ์ถ”์ฒœํ•ฉ๋‹ˆ๋‹ค.
"Fork"๊ฐ€ ์„ฑ๊ณต์ ์œผ๋กœ ๋๋‚ฌ๋‹ค๋ฉด ์•„๋ž˜ ๋ณด์ด๋Š” "Clone or Download"๋ฅผ ๋ˆŒ๋Ÿฌ์•ผ ํ•ฉ๋‹ˆ๋‹ค.
![Download from Github](http://i.imgur.com/N1NYcSz.jpg)
"HTTPS"์ฑ„ํฌ ํ–ˆ๋Š”์ง€ ํ™•์ธํ•˜๊ณ  ๋‚˜์™€ ์žˆ๋Š” ๋งํฌ๋ฅผ ๋ณต์‚ฌํ•˜์„ธ์š”.
![HTTPS link](http://i.imgur.com/eGO0ohO.jpg)
์—ฌ๊ธฐ๊ฑฐ ๋ถ€ํ„ฐ ์ปค๋งจ๋“œ๋ผ์ธ์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ์ปค๋งจ๋“œ ๋ผ์ธ์—์„œ `git clone `์„ ์น˜๊ณ  ๋ณต์‚ฌํ•œ ๋งํฌ๋ฅผ ๋ถ™์—ฌ๋„ฃ์€ํ›„ ์‹คํ–‰์‹œํ‚ค์„ธ์š”.
```
user@computer:~$ git clone https://github.com/whoeveryouare/qmk_firmware.git
Cloning into 'qmk_firmware'...
remote: Counting objects: 46625, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 46625 (delta 0), reused 0 (delta 0), pack-reused 46623
Receiving objects: 100% (46625/46625), 84.47 MiB | 3.14 MiB/s, done.
Resolving deltas: 100% (29362/29362), done.
Checking out files: 100% (2799/2799), done.
```
๋‹น์‹ ์€ ์ด์ œ ๋ชจ๋“ ํŒŒ์ผ์ด ๋กœ์ปฌ์‹œ์Šคํ…œ์ด ์ถ”๊ฐ€ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค ๊ทธ๋ฆฌ๊ณ  ์ด์ œ ํ‚ค๋งต์„ ์ถ”๊ฐ€ํ•˜๊ฑฐ๋‚˜ ์ปดํŒŒ์ผ, ํ”„๋กœ๊ทธ๋žจ ์—…๋กœ๋“œ(flashing)๋ฅผ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
๋ชจ๋“  ์ถ”๊ฐ€ ๋ณ€๊ฒฝ์„ ๋งŒ๋“  ๋’ค์—๋Š” add, commit, and push๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋‹น์‹ ์˜ Folk์— ์ถ”๊ฐ€ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
```
user@computer:~$ git add .
user@computer:~$ git commit -m "adding my keymap"
[master cccb1608] adding my keymap
1 file changed, 1 insertion(+)
create mode 100644 keyboards/planck/keymaps/mine/keymap.c
user@computer:~$ git push
Counting objects: 1, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1/1), done.
Writing objects: 100% (1/1), 1.64 KiB | 0 bytes/s, done.
Total 1 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1), completed with 1 local objects.
To https://github.com/whoeveryouare/qmk_firmware.git
+ 20043e64...7da94ac5 master -> master
```
์ด๋กœ์จ ๋‹น์‹ ์ด ๋งŒ๋“  ๋ชจ๋“  ๋ณ€๊ฒฝ๋“ค์ด ๋‹น์‹ ์˜ Github์˜ Folk์— ์ถ”๊ฐ€ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. (`https://github.com/<whoeveryouare>/qmk_firmware`)์—์„œ ํ™•์ธํ•˜๊ณ  "New Pull Request"๋ฅผ ๋ˆŒ๋Ÿฌ ๋ณ€๊ฒฝ์‚ฌํ•ญ์„ QMK์— ์—…๋กœ๋“œํ• ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
![New Pull Request](http://i.imgur.com/DxMHpJ8.jpg)
์ด ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๋ฉด ๋‹น์‹ ์ด ๋งŒ๋“  ๋ชจ๋“  ๋ณ€๊ฒฝ์‚ฌํ•ญ๋“ค์ด ๋ณด์—ฌ์งˆ ๊ฒƒ์ž…๋‹ˆ๋‹ค. ๋งŒ์•ฝ ๋ชจ๋“  ๋ณ€๊ฒฝ์‚ฌํ•ญ์ด ๋ง˜์— ๋“ ๋‹ค๋ฉด "Create Pull Request"๋ฅผ ๋ˆŒ๋Ÿฌ ์š”์ฒญ์„ ํ™•์ •ํ• ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
**์š”์ฒญ์‚ฌํ•ญ์ด ํ™•์ •๋œ๋‹ค๊ณ  ๋ณ€๊ฒฝ์‚ฌํ•ญ์ด ๋ฐ”๋กœ ์ ์šฉ๋˜๋Š” ๊ฒƒ์€ ์•„๋‹™๋‹ˆ๋‹ค.**
![Create Pull Request](http://i.imgur.com/Ojydlaj.jpg)
์š”์ฒญ์„ ํ•œ๋’ค QMK๊ฐœ๋ฐœ์ž๋“ค์€ ๋Œ“๊ธ€๋กœ ๋ฌด์—‡์ด ๋ณ€๊ฒฝ๋˜์—ˆ๋Š”์ง€ ๋“ฑ์„ ๋ฌผ์–ด ๋ณผ์ˆ˜์žˆ์ง€๋งŒ ๋์—๋Š” ๋งค์ธ ๋””๋ž™ํ† ๋ฆฌ๋กœ ์—…๋กœ๋“œ ๋ ๊ฒƒ์ž…๋‹ˆ๋‹ค.
**"Thanks for contributing to QMK :)"**