github-api
github-api copied to clipboard
Create example for creating submodules within a repo
Is there an API to create sub modules within a repository? Any help to handle this programmatically is appreciated. Thanks for your help!
Regards, Balaji
@bitwiseman would you be able to answer my query. Thanks.
Is there a REST API call specifically for this? No. But it can be done.
This talks about how to do that via the REST API directly.
https://stackoverflow.com/questions/35765445/how-to-create-submodule-in-github-using-github-rest-api
You should be able to make equivalent calls via this library to create the submodule. I'm setting this as documentation issue.