Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I generate an app in the current directory it should not replace key files or it should ask me if I want to replace them #1826

Open
omenking opened this issue Jun 18, 2022 · 0 comments

Comments

@omenking
Copy link

@omenking omenking commented Jun 18, 2022

When I attempt to generate an app within the current directory it appears to be attempting to apply a git commit, and so my repo ends up in a weird merge state, its also trying to blow away my Reademe and .gitpod.yml file

Screen Shot 2022-06-18 at 10 26 34 AM

The reason I want to generate in current directory is that gitpod has a folder and git repo already setup for you.

The workaround I'll have to apply is generate an app in subfolder and the move the contents except for some files.
This is a big cumbersome.

  • I think that files that could be replace should be prompted to ask of their replacement or deletion
  • I think that there should be a flag eg `sst create my-project --directory . --replace-files=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant