Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how do i search bitbucket files that contain a string and are contained in specific repos?

I want to search bitbucket for files that contain the string "MyStr", but only search repos who's name contains "cookbook"- is this possible?

Could not see how to do this with quick file search: https://blog.bitbucket.org/2013/02/07/introducing-quick-file-search/

like image 216
red888 Avatar asked Aug 26 '16 02:08

red888


People also ask

How do I search for a string in a Bitbucket repository?

To start searching in Bitbucket, select the search field in the upper-right corner of the top navigation bar, then enter either a single word or an entire phrase (in double quotes).

How do I do an exact search in Bitbucket?

To search for multiple words in exact order, put them in quotes (e.g. "find this phrase" ).

How do I filter in Bitbucket?

Bitbucket Filters. Allows for creating custom filters for your repositories that persist across Chrome accounts. To add a filter, go to Issues > Advanced Search, select your options, then press the "Save & Search" button.


2 Answers

You can click on the magnifying glass on the left bar (top bar in the new layout) and directly type in the code. It'll allow for searching in the current repository or all your repositories.

like image 63
Shivam Sarkhar Avatar answered Sep 18 '22 15:09

Shivam Sarkhar


As far as I know, there is no such feature yet.

like image 32
yuan fang Avatar answered Sep 16 '22 15:09

yuan fang