Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How can we search all repositories except one or two

santhosh kumar challa July 6, 2022

I want to search a text in all repositories but at the same time I want avoid some repositories which I don't need.

Thank you in advance.

1 answer

0 votes
santhosh kumar challa July 6, 2022

alter table -repo:x -repo:y -repo:z lang:sql  

- to avoid repositories.

Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 12, 2022

Hello @santhosh kumar challa ,

Thank you for reaching out to Atlassian Community!

If you are using Code Search, it's possible to filter your query to Include or Not include a given repository. Please allow me to share some examples : 

  • Include just repos apple, orange and gauva :
    repo:apple repo:orange repo:gauva search-term
  • Include all the repos except the repository called apple
    search-term NOT repo:apple

You can check more examples of the available modifiers for Code Search in the following documentation :

https://support.atlassian.com/bitbucket-cloud/docs/search-in-bitbucket-cloud/

Thank you, @santhosh kumar challa .

Kind regards,

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events