how do i create new repository in bitbucket by using git bash

Akshay Kadam
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!
December 12, 2021

how do i create new repository in bitbucket by using git bash terminal

1 answer

0 votes
Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 12, 2021

Hi @Akshay Kadam!

Welcome to the Community!

I'm going to assume the reason you are asking this is that you don't have access to the Web interface to create the repository (which is the normal way you would do this).

From git bash your only option would be to create a script that uses the API to create the repo.  You can find the documentation for that here:

https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-repo-slug-post

I hope that helps!

-Jimmy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events