Searching your repository

General Searching

You can search your repository by commit messages and comments to changesets. To do this, there is a search bar located on the top right of your account. If you're on the dashboard and use the search, it will search across all repositories. If you're on the Activity page, Browser, or any repository specific page, and use the search, it will only show results from that repository.

Please note: Search results do not contain the content of your code, only repo activity. To find specific code in your repo, conduct your search in the local copy of the repo.

Search Scopes

On the Search Results page there are a few options to adjust your search: select boxes for repository and user. Use these to search for commits only in specific repositories or made by a specific user.

Tricks

There are three special triggers that you can use in the search field to adjust your search results:

+by , +rev and +hash
	

The +by trigger is the same as the users select box on the Search Results page, but it allows you to find by users that are not registered in your Beanstalk account. You can use this trigger with a search term like this: updating CSS +by gilbert , or you can use it without search term to get the list of all commits made by a user: +by ilya .

There is a slight difference between searching GIT and SVN repositories by user:

  • To search by a user through svn commits you would use this syntax: +by LOGIN
  • To search by a user through git commits you would use this syntax: +by FULL NAME

"LOGIN" is the username of the user in your Beanstalk account, while "FULL NAME" would stand for the Full Name you have setup when you installed GIT on your local machine.

With the +rev trigger you can quickly jump to a specific revision in your svn repository. Say you are on the Activity page and you want to see the changeset for revision "400" of your svn repository. Just enter this in the search field and you will get what you want: +rev 400. If you do that on the Dashboard you will get a list of revision "400" changesets for all svn repositories in your account.

With the +hash trigger you can quickly jump to a specific git changeset in your git repository. Say you are on the Activity page and you want to see the changeset for hash "144618" of your git repository. Just enter this in the search field and you will get what you want: +hash 144618. If you do that on the Dashboard you will get a list of "144618" changesets for all git repositories in your account.

Please note: You need to use full hash in order to search GIT repository by hash

Still need help? Contact Us Contact Us