setting a different default branch
hamilton opened this issue · 2 comments
hamilton commented
Hi Rich! Many of the code bases I work on w/ others are renaming master
to main
. Is there an easy way to set the default branch w/ degit
to something that isn't master
within a project?
korakot commented
I face the same problem.
Please have degit
check for both master
and main
as defaults.
canadaduane commented
I'm having the same issue. Is there a workaround for now?
UPDATE: You can suffix the git url with #main
, e.g. npx degit canadaduane/svelte-rollup-images-app#main my-app