npm create @shopify/hydrogen@latest should not delete .git directory
#2989
PSmith-SmithAndCo
started this conversation in
Feedback
Replies: 1 comment
-
|
I was able to work around this by copying the contents of the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For context: I have been hired to convert an existing
phpproject to aShopify Hydrogenproject.Running
npm create @shopify/hydrogen@latestagainst a non-empty directory either forces the user to delete everything in that folder - including.git- or abandon the process.It is annoying that the user has to delete everything. However; I understand that it would be cumbersome - if not impossible - for the Hydrogen team to figure out what is safe to keep and what would cause conflicts with the generated code.
The
.gitfolder is probably safe to keep, though.Beta Was this translation helpful? Give feedback.
All reactions