Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
GitHub Docs

Searching users

You can search for users on GitHub and narrow the results using these user search qualifiers in any combination.

You can search for users globally across a GitHub platform, for example: across GitHub.com or across GitHub Enterprise Server.

For more information, seeAbout searching on GitHub.

Tip

  • This article contains links to example searches on the GitHub.com website, but you can use the same search filters in any GitHub platform. In the linked example searches, replacegithub.com with the hostname for your GitHub platform.
  • For a list of search syntaxes that you can add to any search qualifier to further improve your results, seeUnderstanding the search syntax.
  • Use quotations around multi-word search terms. For example, if you want to search for issues with the label "In progress," you'd search forlabel:"in progress". Search is not case sensitive.

Search only users or organizations

By default, searching users will return both personal and organizations. However, you can use thetype qualifier to restrict search results to personal accounts or organizations only.

QualifierExample
type:usermike in:name created:<2011-01-01 type:user matches personal accounts named "mike" that were created before 2011.
type:orgdata in:email type:org matches organizations with the word "data" in their email.

Search by account name, full name, or public email

You can filter your search to the personal user or organization account name withuser ororg qualifiers.

With thein qualifier you can restrict your search to the username (login), full name, public email, or any combination of these. When you omit this qualifier, only the username and email address are searched. For privacy reasons, you cannot search by email domain name.

QualifierExample
user:nameuser:octocat matches the user with the username "octocat".
org:nameorg:electron type:user matches the Electron organization's account name.
in:loginkenya in:login matches users with the word "kenya" in their username.
in:namebolton in:name matches users whose real name contains the word "bolton."
fullname:firstname lastnamefullname:nat friedman matches a user with the full name "Nat Friedman." Note: This search qualifier is sensitive to spacing.
in:emaildata in:email matches users with the word "data" in their email.

Search by number of repositories a user owns

You can filter users based on the number of repositories they own, using therepos qualifier andgreater than, less than, and range qualifiers.

QualifierExample
repos:nrepos:>9000 matches users whose repository count is over 9,000.
namerepos:nbert repos:10..30 matches users with the word "bert" in their username or real name who own 10 to 30 repositories.

Search by location

You can search for users by the location indicated in their profile.

QualifierExample
location:LOCATIONrepos:1 location:iceland matches users with exactly one repository that live in Iceland.

Search by repository language

Using thelanguage qualifier you can search for users based on the languages of repositories they own.

QualifierExample
language:LANGUAGElocation:LOCATIONlanguage:javascript location:russia matches users in Russia with a majority of their repositories written in JavaScript.
namelanguage:LANGUAGEin:fullnamejenny language:javascript in:fullname matches users with JavaScript repositories whose full name contains the word "jenny."

Search by when a personal account was created

You can filter users based on when they joined GitHub with thecreated qualifier. This takes a date as its parameter. Date formatting must follow theISO8601 standard, which isYYYY-MM-DD (year-month-day). You can also add optional time informationTHH:MM:SS+00:00 after the date, to search by the hour, minute, and second. That'sT, followed byHH:MM:SS (hour-minutes-seconds), and a UTC offset (+00:00).

When you search for a date, you can use greater than, less than, and range qualifiers to further filter results. For more information, seeUnderstanding the search syntax.

QualifierExample
created:YYYY-MM-DDcreated:<2011-01-01 matches users that joined before 2011.
created:>=YYYY-MM-DDcreated:>=2013-05-11 matches users that joined at or after May 11th, 2013.
created:YYYY-MM-DDlocation:LOCATIONcreated:2013-03-06 location:london matches users that joined on March 6th, 2013, who list their location as London.
created:YYYY-MM-DD..YYYY-MM-DDnamein:logincreated:2010-01-01..2011-01-01 john in:login matches users that joined between 2010 and 2011 with the word "john" in their username.

Search by number of followers

You can filter users based on the number of followers that they have, using thefollowers qualifier withgreater than, less than, and range qualifiers.

QualifierExample
followers:nfollowers:>=1000 matches users with 1,000 or more followers.
namefollowers:nsparkle followers:1..10 matches users with between 1 and 10 followers, with the word "sparkle" in their name.

Search based on ability to sponsor

You can search for users and organizations who can be sponsored on GitHub Sponsors with theis:sponsorable qualifier. For more information, seeAbout GitHub Sponsors.

QualifierExample
is:sponsorableis:sponsorable matches users and organizations who have a GitHub Sponsors profile.

Further reading


[8]ページ先頭

©2009-2025 Movatter.jp