Details
-
Suggestion
-
Resolution: Unresolved
-
None
Description
Currently, it is not possible to specify if you want your newly created repository to have a template readme or .gitignore file upon creation.
It would be great if this could be passed along the JSON for repo creations, such as:
$ Curl -X POST -u <username>:<apppassword> "https://api.bitbucket.org/2.0/repositories/<workspace/<repo_slug>" -H "Content-Type: application/json" -d '{ "scm": "git", "project": { "key": "MP" }, "language": "html/css", "gitignore_type": "template", "readme_type": "template" }'
Attachments
Issue Links
- is duplicated by
-
BCLOUD-21904 Add README and .gitignore selection while creating a repository via API 2.0
- Closed