Repository Templates for Bitbucket
As we continue to move towards a cloud future together, new server app sales and installs are no longer available for customers. You can update app version via Atlassian Marketplace until the end of support for server on Feb 15, 2024. Learn more
Use templates to keep your repository settings in-sync and to provide default content for new repositories
Configure settings and content of your template
Configure a repository as a template with the settings that should be common to your repositories. You can also create common branches (e.g., master and develop) and files (e.g. README, LICENSE, .gitattributes) in it.
Copy settings and Git content to new repositories
When creating a new repository from a template, this app copies all settings of the template (permissions, hooks, etc.) over to the newly created repository. The Git content is mirrored as well.
Keep the settings of your repositories consistent
You can also configure the app to periodically reset settings of associated repositories to the ones of a template. With this feature enabled, you can ensure that your repositories are always correctly configured.
Configure a repository as a template and this app copies all of its settings and content over to newly created repositories in that project. You can configure the app to periodically reset settings of associated repositories to the ones of a template. Enabling this feature, you can manage settings centrally & ensure that your repositories are always correctly configured, so there is no need to define certain settings all over again (e.g., if you want that "force push" is forbidden).
The app supports:
- repository hook settings
- repository permissions
- branch permissions
- pull request settings
- repository detail settings
- access keys
Create branches and files (e.g. README.md, LICENSE, CODEOWNERS, .gitattributes, PRCHECKLIST) in the template repository every new repository should automatically have. The app mirrors the content of the template to new repositories.
The app exposes all its settings with a REST interface.
More apps you’ll like 😀: Pull Request Checklist Buddy for Bitbucket
Privacy and security