I would like to add a file (readme.md) to a Bitbucket Server git repository when it is created. I am looking for suggestions on the best way to do this as well as any example code on how to accomplish it. I was looking at the following possibilities:
- Git pre/post hook
- Template file for git -init (Would this work when a user clicks the "Create Repository" in the Bitbucket GUI?)
- Bitbucket ScriptRunner listener
Thank you for any help!
Working on a script to add the files manually. Still in progress.