I am unaware if this has been asked here before, but will there be support for creating template repositories as there is on GitHub? I've recently learnt about SourceHut and have decided to switch to it. I have a project which simply provides a boilerplate template for users to use to kick-start their own projects. If this feature won't be available, is my option only to encourage a read-only clone and erasing prior git history and then creating a new repository?
> will there be support for creating template repositories as there is on
> GitHub? I've recently learnt about SourceHut and have decided to switch to it.
> I have a project which simply provides a boilerplate template for users to use
> to kick-start their own projects.
Not that I know of.
As a workaround, SourceHut allows automating the creation of a repository (ref.
docs[0]). You can write a script to do that and then commit the boilerplate
files.
hope it helps
[0]: https://man.sr.ht/git.sr.ht/#push-options