Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,370,153
Community Members
 
Community Events
168
Community Groups

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

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

1 answer

0 votes
Jimmy Seddon Community Leader Dec 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

Atlassian Community Events