feat: support in-place scaffolding for create . command - #2419
feat: support in-place scaffolding for create . command#2419sachin-duhan wants to merge 2 commits into
create . command#2419Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Visual recap — skippedThe visual recap job did not run for this pull request. This is informational only and does not block the PR. Recap skipped for |
|
Thanks for the contribution @sachin-duhan! I walked through the in-place path and think we should tighten the safety boundary before merging:
I’d suggest staging into a temporary directory, copying only new files into the current directory after success, and cleaning up only the staging directory on failure. We should also detect pre-existing Git metadata and skip init/commit in that case. Could we add tests covering preservation of |
resolves #2418