Home  >  Article  >  Tell me, you know GitHub!

Tell me, you know GitHub!

Java学习指南
Java学习指南forward
2023-07-25 17:56:001462browse

Hello everyone, I am Qing Ge. Today I will share some very practical ways to play Github. Come and learn with me!

Preface

  • I believe that everyone is familiar with GitHub. It is a very good learning resource website. I usually download a few demos or open source projects when I have nothing to do. Come and learn, the feeling of free prostitution is really good~
  • This article mainly explains some tips on how to use GitHub to find open source projects efficiently, step by step Teach you how to find open source projects efficiently, Ollie gives~

novice’s search method

When we want to search for information about SpringBoot on GitHub When selecting a project, we will directly search for the keyword

Tell me, you know GitHub!


##前高能~Chongya.....

Explicit search warehouse title

  • Syntax:in:name [Keyword]
  • Display: For example, if we want to search for SpringBoot keywords in the title of the GitHub repository, we can search like this: in:name SpringBoot
    Tell me, you know GitHub!
  • ##Comparison : We found that we also retrieve SpringBoot, we use in:name [key Word] This search method retrieves information more accurately than directly searching for keywords, and the search records are reduced from 153,287 to 119,687.

Explicit search description

  1. Syntaxin:description [Keywords]
  2. Display: For example, if we want to search for SpringBoot keywords in the GitHub warehouse description, we can search like this: in:description SpringBoot
    Tell me, you know GitHub!

Clear README description

  1. Syntaxin:readme [Keywords]
  2. Display: For example, if we want to search for SpringBoot keywords in the README.md of the GitHub warehouse, we can search like this: in:readme SpringBoot
    Tell me, you know GitHub!

Clear the star and fork number interval

  1. Syntax:stars:>[num][Key Words]
  2. ##Display: For example, if we want to search for SpringBoot-related projects with stars>2000 in the warehouse, we can Search like this: stars:>2000 SpringBoot. Of course, interval range query is also supported. For example, if I want to find SpringBoot projects with stars between 1000 and 2000, we can search like this stars:1000. .2000 SpringBoot
    Tell me, you know GitHub!

Explicit search warehouse size

  1. Syntax:size: >[num] num in K
  2. Display:We can use the warehouse Size is the search condition to retrieve information. The default size unit is KB. For example, if we want to retrieve information with a warehouse size >5KB, we can search: size : >5
    Tell me, you know GitHub!

Clear the warehouse update time

  1. Syntaxpushed: >[ time][name] ex:2020-08-11
  2. Display:We canwithwarehouselibrary’s size update time is the retrieval condition to filter out the information we need, For example, if we want to retrieve the warehouse update time after August 11, 2020, we can search like this: pushed: >2020-08-11 SpringBoot

    Tell me, you know GitHub!

Clear the programming language of the warehouse

  1. Syntaxlanguage :[lag][name]
  2. Display:Whenwe want to retrieve the warehouse The programming language used is Java’s SpringBoot project, we can search like this: language:Java SpringBoot

    Tell me, you know GitHub!

Comprehensive condition filtering

Search condition
(1) Search topic :Microservice
(2) Number of stars: stars > 1000
(3) Warehouse Update time: after August 1, 2020
(4) Language: Java
Based on the above query conditions, we can search like this: in:description microservice language:java pushed:>2020-08-01 stars:>1000
Tell me, you know GitHub!

## In the end, we can find that there are only 12 search results that meet the conditions. Isn’t it very efficient~



#Finally, I’ll give you a coupon, say goodbye to anxiety, say goodbye to confusion, come and learn to check in with me!


The above is the detailed content of Tell me, you know GitHub!. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:Java学习指南. If there is any infringement, please contact admin@php.cn delete