Texonom
Texonom
/
Engineering
Engineering
/Software Engineering/Programming/Version Control/
Git
Git
/Git Repository/Github/
Github Code Search
Search

Github Code Search

Creator
Creator
Seonglae Cho
Created
Created
2022 Jun 29 15:32
Editor
Editor
Seonglae Cho
Edited
Edited
2025 Jun 18 9:50
Refs
Refs
Code search

Query

Exact match or RegEx

"some exact string"
/some.*pattern/

Code Block

function_name language:python
symbol:MyFunction language:go

Repo

repo:owner/repo_name "target string"
is:archived OR is:fork

User

user:seonglae push_to_hub OR user:seongland push_to_hub OR user:texonom push_to_hub

Path filtering

path:/src/**/*.py
path:*.ts
 
 

Query Syntax

Understanding GitHub Code Search syntax - GitHub Docs
You can build search queries for the results you want with specialized code qualifiers, regular expressions, and boolean operations.
Understanding GitHub Code Search syntax - GitHub Docs
https://docs.github.com/en/search-github/github-code-search/understanding-github-code-search-syntax
Understanding GitHub Code Search syntax - GitHub Docs
Improving GitHub code search
Today, we are rolling out a technology preview for GitHub code search, the next iteration for search, discovery, and navigation on GitHub.
Improving GitHub code search
https://github.blog/2021-12-08-improving-github-code-search/
Improving GitHub code search
GitHub
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects.
GitHub
https://github.com/search
GitHub
GitHub Code Search (Preview)
GitHub Code Search (Preview)
GitHub Code Search (Preview)
https://cs.github.com/about
 
 
 

Table of Contents
QueryExact match or RegExCode BlockRepoUserPath filteringQuery Syntax

Recommendations

Texonom
Texonom
/
Engineering
Engineering
/Software Engineering/Programming/Version Control/
Git
Git
/Git Repository/Github/
Github Code Search
Copyright Seonglae Cho