File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ A collection of cool hidden and not so hidden features of Git and GitHub. This c
66
77 - [ GitHub] ( #github )
88 - [ Ignore Whitespace] ( #ignore-whitespace )
9+ - [ Adjust Tab Space] ( #adjust-tab-space )
910 - [ Commit History by Author] ( #commit-history-by-author )
1011 - [ Cloning a Repository] ( #cloning-a-repository )
1112 - [ Comparing Branches] ( #comparing-branches )
@@ -65,6 +66,18 @@ A collection of cool hidden and not so hidden features of Git and GitHub. This c
6566
6667[ * 깃허브의 비밀을 더 읽어 보세요.* ] ( https://github.com/blog/967-github-secrets )
6768
69+ ### Adjust Tab Space
70+
71+ diff나 파일 URL에 ` ?ts=4 ` 를 덧붙이면 텝 문자의 크기를 기본값인 8대신 4공백으로 보여줍니다. ` ts ` 뒤의 숫자는 설정에 맞게 변경 하실 수 있습니다. gist나 raw파일에는 적용 되지 않습니다.
72+
73+ 여기에 있는 Go 소스 파일은 ` ?ts=4 ` 를 붙이기 [ 전에는] ( https://github.com/pengwynn/flint/blob/master/flint/flint.go ) 이렇습니다.
74+
75+ ![ Before, tab space example] ( http://i.imgur.com/GIT1Fr0.png )
76+
77+ 그리고 ` ?ts=4 ` 를 붙인 [ 다음에는] ( https://github.com/pengwynn/flint/blob/master/flint/flint.go?ts=4 ) 이렇게 됩니다.
78+
79+ ![ After, tab space example] ( http://i.imgur.com/70FL4H9.png )
80+
6881### Commit History by Author
6982
7083특정 커미터가 한 모든 커밋을 보고 싶다면 URL에 ` ?author=username ` 를 추가하세요.
@@ -640,7 +653,7 @@ NOTE: 이 명령을 알리아스 (단축 명령)으로 넣을 수 있습니다.
640653$ git show :/query
641654```
642655
643- ` query ` 에는 검색하고 싶은 말을 넣으세요. 주어진 검색어가 있는 가장 마지막 커밋을 표시하고 변경된 라인을 보여줍니다.
656+ ` query ` 에는 검색하고 싶은 말을 (대소문자를 구분해) 넣으세요. 주어진 검색어가 있는 가장 마지막 커밋을 표시하고 변경된 라인을 보여줍니다.
644657
645658``` bash
646659$ git show :/typo
You can’t perform that action at this time.
0 commit comments