You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
emulsify-cli assumes that a custom starter theme's default branch is 'master'.
The error is:
fatal: Remote branch master not found in upstream origin
However if you specify a --checkout, then starter theme is installed correctly.
To Reproduce
Steps to reproduce the behavior:
Initialize a project with a custom starter theme repository where the default branch is not "master"; verify that it is valid by specifying a checkout on the command line:
emulsify init -p drupal --starter git@github.com:calebtr-metro/emulsify-starter-demonstration.git --checkout main . test-success
Initialize a project with the same repository but leave out the --checkout flag:
Describe the bug
emulsify-cli assumes that a custom starter theme's default branch is 'master'.
The error is:
However if you specify a
--checkout
, then starter theme is installed correctly.To Reproduce
Steps to reproduce the behavior:
Initialize a project with a custom starter theme repository where the default branch is not "master"; verify that it is valid by specifying a checkout on the command line:
emulsify init -p drupal --starter git@github.com:calebtr-metro/emulsify-starter-demonstration.git --checkout main . test-success
Initialize a project with the same repository but leave out the
--checkout
flag:emulsify init -p drupal --starter git@github.com:calebtr-metro/emulsify-starter-demonstration.git . test-fail
See error.
Expected behavior
emulsify-cli should identify a repository's correct default branch / HEAD.
Additional context
The text was updated successfully, but these errors were encountered: