4

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?

Jacek Laskowski
  • 72,696
  • 27
  • 242
  • 420
Arnout Engelen
  • 6,709
  • 1
  • 25
  • 36

1 Answers1

7

The working solution is as follows:

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

pcejrowski
  • 603
  • 5
  • 15