From Git version 2.28.0, we can create a repository with specific default branch using
git init --initial-branch=trunk
I wanted to do the same with Jgit for bare repository but couldn't find the corresponding API either in Git.java or InitCommand.java .
Is this feature supported in Jgit ?
Thanks.