@@ -23,6 +23,7 @@ A collection of cool hidden and not so hidden features of Git and GitHub. This c
23
23
- [ Line Highlighting in Repositories] ( #line-highlighting-in-repositories )
24
24
- [ Closing Issues via Commit Messages] ( #closing-issues-via-commit-messages )
25
25
- [ Cross-Link Issues] ( #cross-link-issues )
26
+ - [ Locking Conversations] ( #locking-conversations )
26
27
- [ CI Status on Pull Requests] ( #ci-status-on-pull-requests )
27
28
- [ Syntax Highlighting in Markdown Files] ( #syntax-highlighting-in-markdown-files )
28
29
- [ Emojis] ( #emojis )
@@ -38,14 +39,15 @@ A collection of cool hidden and not so hidden features of Git and GitHub. This c
38
39
- [ Rendering Tabular Data] ( #rendering-tabular-data )
39
40
- [ Revert a Pull Request] ( #revert-a-pull-request )
40
41
- [ Diffs] ( #diffs )
41
- - [ Rendered prose Diffs] ( #rendered-prose-diffs )
42
+ - [ Rendered Prose Diffs] ( #rendered-prose-diffs )
42
43
- [ Diffable Maps] ( #diffable-maps )
43
44
- [ Expanding Context in Diffs] ( #expanding-context-in-diffs )
44
45
- [ Diff or Patch of Pull Request] ( #diff-or-patch-of-pull-request )
45
46
- [ Rendering and diffing images] ( #rendering-and-diffing-images )
46
47
- [ Hub] ( #hub )
47
48
- [ Decreasing Contributor Friction] ( #decreasing-contributor-friction )
48
49
- [ Contributing Guidelines] ( #contributing-guidelines )
50
+ - [ Octicons] ( #octicons )
49
51
- [ GitHub Resources] ( #github-resources )
50
52
- [ GitHub Talks] ( #github-talks )
51
53
- [ Git] ( #git )
@@ -284,6 +286,18 @@ $ git commit -m "Fix screwup, fixes #12"
284
286
285
287
![ Cross-Link Issues] ( https://camo.githubusercontent.com/447e39ab8d96b553cadc8d31799100190df230a8/68747470733a2f2f6769746875622d696d616765732e73332e616d617a6f6e6177732e636f6d2f626c6f672f323031312f736563726574732f7265666572656e6365732e706e67 )
286
288
289
+ ### Locking Conversations
290
+
291
+ 풀 리퀘스트와 이슈는 레포지터리의 주인이나 협업자에 의해 잠글 수 있습니다.
292
+
293
+ ![ Lock conversation] ( https://cloud.githubusercontent.com/assets/2723/3221693/bf54dd44-f00d-11e3-8eb6-bb51e825bc2c.png )
294
+
295
+ 이는 프로젝트의 협업자가 아닌 사람은 더이상 커맨트를 달 수 없게된다는 말입니다.
296
+
297
+ ![ Comments locked] ( https://cloud.githubusercontent.com/assets/2723/3221775/d6e513b0-f00e-11e3-9721-2131cb37c906.png )
298
+
299
+ [ * 대화 잠그기에 대해 더 읽어 보세요.* ] ( https://github.com/blog/1847-locking-conversations )
300
+
287
301
### CI Status on Pull Requests
288
302
289
303
정확히 설정되었다면, 풀 리퀘스트를 받거나 풀 리퀘스트에 새로운 커밋을 할 때 마다, [ Travis CI] ( https://travis-ci.org/ ) 가 풀 리퀘스트를 빌드 할 것입니다. [ Travis CI 시작하기] ( http://docs.travis-ci.com/user/getting-started/ ) 를 좀 더 읽어보세요.
@@ -318,7 +332,7 @@ puts table.to_s
318
332
319
333
### Emojis
320
334
321
- 에모지는 풀 리퀘스트, 이슈, 커밋 메세지, README등등에서 ` :에모지의_이름: ` 으로 만들 수 있습니다.
335
+ 에모지는 풀 리퀘스트, 이슈, 커밋 메세지, README등에 ` :에모지의_이름: ` 으로 넣을 수 있습니다.
322
336
323
337
```
324
338
:smile:
@@ -350,6 +364,12 @@ puts table.to_s
350
364

351
365
```
352
366
367
+ 저장소에 있는 이미지는 직접 불러서 사용할 수 있습니다.
368
+
369
+ ```
370
+ /(repo)/raw/master/path/to/image.gif)
371
+ ```
372
+
353
373
![ Peter don't care] ( http://www.sheawong.com/wp-content/uploads/2013/08/keephatin.gif )
354
374
355
375
모든 이미지는 GitHub에서 케쉬합니다. 그래서 호스트가 죽어도 이미지는 여전히 남습니다.
@@ -475,7 +495,7 @@ Jemoji와 jekyll-mentions플러그인은 GitHub.com에서 처럼 [emoji](#emojis
475
495
476
496
[ * 표 데이타 표시에 대해 더 읽어 보세요.* ] ( https://github.com/blog/1601-see-your-csvs )
477
497
478
- ###Revert a Pull Request
498
+ ### Revert a Pull Request
479
499
480
500
풀 리퀘스트가 머지된 후에, 아무 도움이 안되거나 머지가 잘못된 결정이었다는 걸
481
501
눈치 챌 때가 있습니다.
@@ -484,12 +504,12 @@ Jemoji와 jekyll-mentions플러그인은 GitHub.com에서 처럼 [emoji](#emojis
484
504
485
505
![ Revert button] ( https://camo.githubusercontent.com/0d3350caf2bb1cba53123ffeafc00ca702b1b164/68747470733a2f2f6769746875622d696d616765732e73332e616d617a6f6e6177732e636f6d2f68656c702f70756c6c5f72657175657374732f7265766572742d70756c6c2d726571756573742d6c696e6b2e706e67 )
486
506
487
- [ * Read more about Revert pull request ] ( https://github.com/blog/1857-introducing-the-revert-button )
507
+ [ * 풀 리퀘스트 되돌리기에 대해 더 읽어 보세요. * ] ( https://github.com/blog/1857-introducing-the-revert-button )
488
508
489
509
### Diffs
490
510
#### Rendered Prose Diffs
491
511
492
- 산문(prose) 파일이 있는 커밋과 풀 리퀘스트는 * source* 와 * rendered* 뷰 기능을 사용할 수 있습니다.
512
+ GitHub에서 지원하는 산문(prose) 파일(예를 들어 Markdown)이 있는 커밋과 풀 리퀘스트에서는 * source* 와 * rendered* 뷰 기능을 사용할 수 있습니다.
493
513
494
514
![ Source / Rendered view] ( https://github-images.s3.amazonaws.com/help/repository/rendered_prose_diff.png )
495
515
@@ -585,14 +605,22 @@ $ hub clone tiimgreen/toc
585
605
586
606
[ * 기여하기에 대해 더 읽어 보세요.* ] ( https://github.com/blog/1184-contributing-guidelines )
587
607
608
+ ### Octicons
609
+
610
+ 깃허브 아이콘(옥티콘)이 이제 오픈소스가 되었습니다.
611
+
612
+ ![ Octicons] ( https://og.github.com/octicons/octicons@1200x630.png )
613
+
614
+ [ * 깃 허브의 옥티콘에 대해 더 읽어보세요.* ] ( https://octicons.github.com )
615
+
588
616
### GitHub Resources
589
617
590
618
| Title | Link |
591
619
| ----- | ---- |
592
620
| GitHub Explore | https://github.com/explore |
593
621
| GitHub Blog | https://github.com/blog |
594
622
| GitHub Help | https://help.github.com/ |
595
- | GitHub Training | http ://training.github.com/ |
623
+ | GitHub Training | https ://training.github.com/ |
596
624
| GitHub Developer | https://developer.github.com/ |
597
625
598
626
#### GitHub Talks
@@ -688,6 +716,22 @@ $ git fetch origin '+refs/pull/*/head:refs/remotes/origin/pr/*'
688
716
$ git checkout pr/42 pr-42
689
717
```
690
718
719
+ 여러 저장소를 다루어야 한다면, 전역 깃 설정에서 풀 리퀘스트를 받을(fetching) 수 있도록 설정 할 수 도 있습니다.
720
+
721
+ ``` bash
722
+ git config --global --add remote.origin.fetch " +refs/pull/*/head:refs/remotes/origin/pr/*"
723
+ ```
724
+
725
+ 이렇게 하면 모든 저장소에서 짧은 명령어를 사용 할 수 있습니다.
726
+
727
+ ``` bash
728
+ git fetch origin
729
+ ```
730
+
731
+ ``` bash
732
+ git checkout pr/42
733
+ ```
734
+
691
735
[ * 풀 리퀘스트를 로컬로 체크아웃 하는 방법에 대해 더 읽어 보세요.* ] ( https://help.github.com/articles/checking-out-pull-requests-locally )
692
736
693
737
### Empty Commits :trollface:
@@ -705,6 +749,8 @@ $ git commit -m "Big-ass commit" --allow-empty
705
749
- 저장소를 사용하는 사람과의 대화
706
750
- 나중에 리베이스하지 않을 저장소의 첫 커밋으로 사용 ` git commit -m "init repo" --allow-empty ` .
707
751
752
+ ![ It ain't even that trolololol...] ( http://i.minus.com/il1jaw.gif )
753
+
708
754
### Styled Git Status
709
755
710
756
``` bash
@@ -907,7 +953,7 @@ $ git config --global color.ui 1
907
953
| Everyday Git | http://git-scm.com/docs/everyday |
908
954
| Git Immersion | http://gitimmersion.com/ |
909
955
| Ry's Git Tutorial | http://rypress.com/tutorials/git/index.html |
910
- | Git for Designer | http://hoth.entp.com/output/git_for_designers.html |
956
+ | Git for Designers | http://hoth.entp.com/output/git_for_designers.html |
911
957
| Git for Computer Scientists | http://eagain.net/articles/git-for-computer-scientists/ |
912
958
| Git Magic | http://www-cs-students.stanford.edu/~blynn/gitmagic/ |
913
959
| GitHub Training Kit | http://training.github.com/kit |
@@ -918,7 +964,7 @@ $ git config --global color.ui 1
918
964
| ----- | ---- |
919
965
| Pragmatic Version Control Using Git | http://www.pragprog.com/titles/tsgit/pragmatic-version-control-using-git |
920
966
| Pro Git | http://git-scm.com/book |
921
- | Git Internals Peepcode | http ://peepcode .com/products /git-internals-pdf |
967
+ | Git Internals PluralSight | https ://github .com/pluralsight /git-internals-pdf |
922
968
| Git in the Trenches | http://cbx33.github.com/gitt/ |
923
969
| Version Control with Git | http://www.amazon.com/Version-Control-Git-collaborative-development/dp/1449316387 |
924
970
| Pragmatic Guide to Git | http://www.pragprog.com/titles/pg_git/pragmatic-guide-to-git |
0 commit comments