How to specify a branch in "sbt new"?

561 views Asked by At

When using sbt new, I can initialize a new project based on the default branch of a github project containing a giter8 template.

Is it also possible to use a template from a branch other than the default one?

1

There are 1 answers

0
pcejrowski On BEST ANSWER

The working solution is as follows:

sbt new foo/foo.g8 --branch bar-branch