Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

API for sub-module creation

DEEPAK C
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!
April 25, 2019

Not able to find api for sub-module creation in bitbucket.

1 answer

0 votes
jredmond
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 27, 2019

The Git submodule relationship is created in Git, not on a hosting platform. You'll need to run `git submodule add` with the submodule's URL, then commit and push.

DEEPAK C
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!
April 28, 2019

Hello Jim. Thank you for taking the time and answering the question. Using the command line we are able to create the sub-module.

Wanted to know is there an API call for same in bitbucket for same.

I can see that there is one for gitlab: https://about.gitlab.com/2018/11/22/gitlab-11-5-released/#update-git-submodules-via-api

Any help would be appreciated.

 

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events