scalagithubsbtgiter8

How to specify a branch in "sbt new"?


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?


Solution

  • The working solution is as follows:

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