头图

Hello everyone, my name is Dabin~

Today, I will share with you some unknown search skills .

GitHub search tips

For programmers, Github is undoubtedly a great tool for programming. Mastering the correct way to use Github is also very helpful to our work.

Let's first look at how to evaluate whether a Github project is a high-quality project. Enter the project details page, usually an excellent open source project, its watch , star and fork indicators will have relatively high values. watch is the degree of attention, and good projects tend to have a higher degree of attention. star can be understood as the number of collections. And fork is to copy a copy from someone else's code base to your own code base. If you want to learn this project or contribute code to this project, you must first fork project.

Through these three indicators, we can measure whether a project is an excellent project.

Next, we will introduce the advanced search function of Github.

accordance with the project name / Project Description / readme filter . Some keywords appear in different places in the project, such as project name, project description, and README. Use the keyword in:name/description/readme to search for related content. For example, using redis in:name , you can search for projects that contain redis in the project name.

number of stars or forks. For excellent and popular projects, the number of stars and forks will be larger. We can filter out relatively high-quality projects based on these two parameters. Use the keywords stars:>=xxx or forks:>=xxx to filter out related projects with a number of stars and forks greater than xxx.

filter by language . Such as redis language:java , only search for Java-related projects that contain the keyword Redis.

filter by creation time . For example, if you want to match Redis projects created after January 1, 2020, use redis created:>=2020-01-01 . Similarly, redis pushed:>=2020-01-01 can match the newer Redis projects after January 1, 2020.

Resource Book Series . Using the awesome keyword, you can filter out a collection of relatively high-quality learning materials, books, tools or plug-ins.

The above are some common syntax for Github search. Of course, there are many other useful syntaxes for Github search. Interested partners can look at the official documentation of Github.

Document address : https://docs.github.com/cn/search-github/getting-started-with-searching-on-github/sorting-search-results

I am programmer , non-class transcoding, the school has recruited a number of Internet companies to offer offers, focusing on sharing Java technology dry goods, welcome to pay attention~


程序员大彬
468 声望488 粉丝

非科班转码,个人网站:topjavaer.cn