# gist를 검색합니다

GitHub에 대한 gists를 검색하고 검색 한정자를 사용하여 결과의 범위를 좁힐 수 있습니다.

## gist 찾기

전역적으로 GitHub Enterprise Server 인스턴스에서 gist를 검색할 수 있습니다.

| 한정자 | 예시 |
| :- | :- |
| <code>><em>n</em></code> |               [              **cat stars:>100**](https://gist.github.com/search?q=cat+stars%3A%3E100)이라는 단어를 포함하면서 별표가 100개보다 많은 게시물을 찾습니다.|
| <code>user:<em>USERNAME</em></code> | 
[
**user:octocat**](https://gist.github.com/search?q=user%3Aoctocat)은 @octocat이 만든 모든 gist를 가져옵니다. |
| `anon:true` |               [              **cat anon:true**](https://gist.github.com/search?q=cat+anon%3Atrue&ref=searchresults)는 고양이 관련 gist를 검색할 때 익명 gist를 포함합니다. |
| `NOT` | 
[
**NOT cat**](https://gist.github.com/search?q=NOT+cat&ref=searchresults)은 cat이 포함된 모든 결과를 제외합니다. |
| `fork:only` | 
[
**cat fork:only**](https://gist.github.com/search?q=cat+fork%3Aonly&ref=searchresults)는 "cat"이라는 단어가 포함된 모든 포크 리포지토리를 매칭합니다. |

## 콘텐츠 필터링

gist 검색에서는 기본적으로 파일 내용을 살펴봅니다. 내용에 따라 결과를 필터링할 수도 있습니다.

| 한정자 | 예시 |
| :- | :- |
| <code>filename:<em>FILENAME</em></code> | 
[
**filename:.bashrc**](https://gist.github.com/search?q=filename%3A.bashrc&ref=searchresults)는 ".bashrc" 파일을 사용하여 모든 gist를 찾습니다. |
| <code>language:<em>LANGUAGE</em></code> | 
[
**cat language:html**](https://gist.github.com/search?q=cat+language%3Ahtml&ref=searchresults)은 HTML 파일에서 "cat"이라는 단어가 있는 모든 gist를 찾습니다. |
| <code>extension:<em>EXTENSION</em></code> | 
[
**join extension:coffee**](https://gist.github.com/search?q=join+extension%3Acoffee&ref=searchresults)는 coffee라는 확장명이 있는 gist에서 "join"의 모든 인스턴스를 찾습니다. |
| <code>size:><em>n</em></code> | 
[
**system size:>1000**](https://gist.github.com/search?q=system+size%3A%3E1000&ref=searchresults)은 1MB보다 큰 파일을 포함하는 gist에서 "system"의 모든 인스턴스를 찾습니다. |