可能你曾由於本身老是沒法在github
中找到想要的資源而氣餒,也由於在開發過程當中碰到一些問題而沒法找到問題而煩躁。其實,若是你認真尋找的話,答案就在github
中。node
筆者在這裏根據github
的官方幫助整理了一些經常使用的搜索技巧,想看原文的同窗能夠點這裏:Searching for information on GitHub。但願你們能夠在閱讀以後能更快的找到本身想要的內容,提高工做和學習效率。react
原文涉及到的搜索內容比較多,筆者這裏只是整理了一些我的在工做中經常使用的內容git
github
默認會在倉庫名和倉庫描述中進行搜索github
修飾符(qualifier) | 例子(Example) |
---|---|
in:name |
react in:name 倉庫名中包含react |
in:description |
react in:name,descript 倉庫名或倉庫描述中包含react |
in:readme |
react in:readme 倉庫readme 中包含react |
followers:n |
node followers:>=10000 倉庫名或倉庫描述中包含node 關鍵字且該倉庫的followers 大於等於10000人 |
stars:n |
react stars:>=10000 倉庫名或倉庫描述中包含react 且該倉庫被大於等於10000的人star |
pushed:YYYY-MM-DD |
react pushed:>=2019-01-01 倉庫名或倉庫描述中包含react 且該倉庫的最後一次更新在2019年1月1日及以後 |
created:YYYY-MM-DD |
react created:>=2019-01-01 倉庫名或倉庫描述中包含react 且倉庫的建立日期在2019-01-01及以後 |
綜合搜索:學習
在倉庫名或倉庫描述或倉庫readme中包含react,且追隨者超過10000人、星數超過10000、最後更新日期晚於2019年4月20日、倉庫建立日期晚於2018年12月12日
in:name,description,readme followers:>=10000 stars:>=10000 pushed:>=2019-04-20 react created:>=2018-12-12
複製代碼
搜索結果: spa
issue
github
默認會在issue
的標題(title
)、正文(body
)以及評論(comments
)中進行搜索3d
修飾符(qualifier) | 例子(Example) |
---|---|
in:title |
ie in:name issue 標題中含有ie |
in:body |
ie in:name issue 正文中含有ie |
in:comments |
ie in:name issue 評論中含有ie |
綜合搜索:因爲默認的搜索條件過於普遍,咱們須要將搜索範圍縮小到標題code
in:title ie 兼容
複製代碼
搜索結果展現: orm
你們能夠結合相應的語法進行實驗,實際體驗一下不一樣條件下的搜索結果。cdn
原文在這裏:github
搜索做弊表
以後筆者還會繼續整理一些Google
搜索技巧以及WebStorm
使用技巧,若是內容對你有幫助的,但願能star
給予鼓勵,讓社區中樂於分享的開發者創做出更好的做品。