mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-25 16:03:48 +00:00
4.2 KiB
4.2 KiB
stage, group, info, title
stage | group | info | title |
---|---|---|---|
AI-powered | Global Search | To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments | Syntax options |
Syntax | Description | Example |
---|---|---|
" |
Exact search | "gem sidekiq" |
~ |
Fuzzy search | J~ Doe |
| |
Or | display | banner |
+ |
And | display +banner |
- |
Exclude | display -banner |
* |
Partial | bug error 50* |
\ |
Escape | \*md |
# |
Issue ID | #23456 |
! |
Merge request ID | !23456 |
Code search
Syntax | Description | Example |
---|---|---|
filename: |
Filename | filename:*spec.rb |
path: |
Repository location (full or partial matches) | path:spec/workers/ |
extension: |
File extension without . (exact matches only) |
extension:js |
blob: |
Git object ID (exact matches only) | blob:998707* |
Examples
Query | Description |
---|---|
rails -filename:gemfile.lock |
Returns rails in all files except the gemfile.lock file. |
RSpec.describe Resolvers -*builder |
Returns RSpec.describe Resolvers that does not start with builder . |
bug | (display +banner) |
Returns bug or both display and banner . |
helper -extension:yml -extension:js |
Returns helper in all files except files with a .yml or .js extension. |
helper path:lib/git |
Returns helper in all files with a lib/git* path (for example, spec/lib/gitlab ). |