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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,862
Community Members
 
Community Events
176
Community Groups

How can we search all repositories except one or two

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

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

- to avoid repositories.

Patrik S Atlassian Team Jul 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

Atlassian Community Events