Today we often set
gitignore_template in the body when creating new repos on GitHub through our tooling.
However, the branch name in such cases is set automatically to ‘master’, and we’re looking to evolve that nomenclature.
Is it possible there may be an expansion to this CREATE REPO API as documented at https://developer.github.com/v3/repos/#create-an-organization-repository to be able to set the name of the branch while using the gitignore_template to create initial files in the repo?
Otherwise, it’ll take a bit of work for us to use additional API calls to change
refs and the default branch at create time; I imagine GitHub is already working on this some.