@@ -38,6 +38,7 @@ A collection of cool hidden and not so hidden features of Git and GitHub. This c
38
38
- [ Metadata and Plugin Support for GitHub Pages] ( #metadata-and-plugin-support-for-github-pages )
39
39
- [ Viewing YAML Metadata in your Documents] ( #viewing-yaml-metadata-in-your-documents )
40
40
- [ Rendering Tabular Data] ( #rendering-tabular-data )
41
+ - [ Rendering PDF] ( #rendering-pdf )
41
42
- [ Revert a Pull Request] ( #revert-a-pull-request )
42
43
- [ Diffs] ( #diffs )
43
44
- [ Rendered Prose Diffs] ( #rendered-prose-diffs )
@@ -54,11 +55,13 @@ A collection of cool hidden and not so hidden features of Git and GitHub. This c
54
55
- [ Remove All Deleted Files from the Working Tree] ( #remove-all-deleted-files-from-the-working-tree )
55
56
- [ Previous Branch] ( #previous-branch )
56
57
- [ Stripspace] ( #stripspace )
58 + - [ SSH keys] ( #ssh-keys )
57
59
- [ Checking out Pull Requests] ( #checking-out-pull-requests )
58
60
- [ Empty Commits] ( #empty-commits )
59
61
- [ Styled Git Status] ( #styled-git-status )
60
62
- [ Styled Git Log] ( #styled-git-log )
61
63
- [ Git Query] ( #git-query )
64
+ - [ Git Grep] ( #git-grep )
62
65
- [ Merged Branches] ( #merged-branches )
63
66
- [ Fixup and Autosquash] ( #fixup-and-autosquash )
64
67
- [ Web Server for Browsing Local Repositories] ( #web-server-for-browsing-local-repositories )
@@ -486,6 +489,14 @@ Jemoji와 jekyll-mentions플러그인은 GitHub.com에서 처럼 [emoji](#emojis
486
489
487
490
[ * 표 데이타 표시에 대해 더 읽어 보세요.* ] ( https://github.com/blog/1601-see-your-csvs )
488
491
492
+ ### Rendering PDF
493
+
494
+ 깃허브에서 PDF를 렌더링할 수 있습니다.
495
+
496
+ ![ PDF] ( https://cloud.githubusercontent.com/assets/1000669/7492902/f8493160-f42e-11e4-8cea-1cb4f02757e7.png )
497
+
498
+ [ * PDF 렌더링에 대해 더 읽어 보세요.* ] ( https://github.com/blog/1974-pdf-viewing )
499
+
489
500
### Revert a Pull Request
490
501
491
502
풀 리퀘스트가 머지된 후에, 아무 도움이 안되거나 머지가 잘못된 결정이었다는 걸
@@ -683,6 +694,18 @@ $ git stripspace < README.md
683
694
684
695
[ * 깃 ` stripspace ` 커맨드에 대해 더 읽어 보세요.* ] ( http://git-scm.com/docs/git-stripspace )
685
696
697
+ ### SSH keys
698
+
699
+ 밑의 주소를 방문하면 공개 ssh 키의 목록을 일반 텍스트 형식으로 볼 수 있습니다.
700
+
701
+ ```
702
+ https://github.com/{user}.keys
703
+ ```
704
+
705
+ e.g. [ https://github.com/tiimgreen.keys ] ( https://github.com/tiimgreen.keys )
706
+
707
+ [ * 공개 ssh 키 접근에 대해 더 읽어 보세요.* ] ( https://changelog.com/github-exposes-public-ssh-keys-for-its-users/ )
708
+
686
709
### Checking out Pull Requests
687
710
688
711
풀 리퀘스트는 깃허브 저장소에서 사용하는 특별한 브랜치로 여러 방법으로 로컬로
@@ -814,6 +837,32 @@ $ git show :/typo
814
837
815
838
NOTE: 나오려면 ` q ` 를 누르세요.
816
839
840
+ ### Git Grep
841
+
842
+ Git Grep은 패턴에 매치하는 줄의 목록을 반환합니다.
843
+
844
+ 다음 명령을 실행해 보세요.
845
+ ``` bash
846
+ $ git grep aliases
847
+ ```
848
+ * aliases* 문자열이 포함된 모든 파일을 보여줍니다.
849
+
850
+ ![ git grep aliases] ( http://i.imgur.com/DL2zpQ9.png )
851
+
852
+ * 나오려면 ` q ` 를 누르세요.*
853
+
854
+ 여러 플레그를 이용해서 좀 더 복잡한 검색을 할 수 있습니다. 예를 들면,
855
+
856
+ * ` -e ` 다음 파라미터는 패턴 (e.g. regex)
857
+ * ` --and ` , ` --or ` , ` --not ` 으로 여러 패턴을 조합
858
+
859
+ 이렇게 사용할 수 있습니다.
860
+ ``` bash
861
+ $ git grep -e pattern --and -e anotherpattern
862
+ ```
863
+
864
+ [ * 깃 ` grep ` 커맨드에 대해 더 읽어 보세요.* ] ( http://git-scm.com/docs/git-grep )
865
+
817
866
### Merged Branches
818
867
819
868
``` bash
0 commit comments