The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Whats the best way to search in a nested repo, also I want to avoid one repo

rahakaha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 16, 2019

I have about 20 repos in a given project and I want to search a key word in all the 19 repos except one repo

 

How would I go about it 

 

Thanks

Raha

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 18, 2019

Hey @rahakaha

This is what will work for the Bitbucket cloud search:

Search >> Search for code

project:<PROJECT_KEY> -repo:<REPO_SLUG_TO_AVOID> <TOKEN>

e.g.

 project:RP -repo:maven-surefire-tests custom


More details about the Bitbucket cloud search can be found here: Search for code in Bitbucket Server - Atlassian Documentation.

Please let me know if you are talking about Bitbucket server.

TAGS
AUG Leaders

Atlassian Community Events