Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to find out bitbucket team repositories names using git?

I have a bitbucket team which has several repositories but I forgot the user password to login. I have the user password credentials for team through which I can access and clone the repo. Is there a way to find out the names or link to repositories in this scenario? Any API or git command would do. I have searched all way on bitbucket site but could not find any information.

like image 704
Anuj Avatar asked Jun 09 '14 05:06

Anuj


People also ask

How do I find my Bitbucket repository name?

To determine the storage location of a repository, navigate to the repository in Bitbucket Server and select Settings. The location on disk will be displayed under Repository details. The numerical part of the path is the ID of the repository.

How do I list all repositories in Bitbucket?

To get all repositories, including private, you need to authenticate with api. bitbucket . org using any of the following: your regular credentials, username and app password, or OAuth token.

How do I find out who created a Bitbucket repository?

You can see it by clicking on the Commit menu in the left hand side.


1 Answers

The following cURL command will give all the repositories.

curl -s https://api.bitbucket.org/1.0/users/{teamname}/ -u {repo_user}:{repo_password}
like image 75
Swathi Avatar answered Sep 21 '22 12:09

Swathi