🐛 Bug: Migration mode should not clobber .gitignore
#1354
Labels
status: accepting prs
Please, send a pull request to resolve this!
type: bug
Something isn't working :(
Bug Report Checklist
main
branch of the repository.Expected
For an existing project, the
.gitignore
file has probably accumulated lots of stuff that should be ignored.I expected the migration script to add to
.gitignore
or adjust it, not to completely clobber it.Actual
Running
npx create-typescript-app
completely clobbers the.gitignore
file, replacing it with a two-liner.Additional Info
I wound up with lots of previously-untracked files added to my repo after running the migrate script over at danvk/literate-ts#246
For example: I was ignoring the
coverage
directory, which contained HTML reports of code coverage that I would periodically generate. After migration, git wanted to track this.The text was updated successfully, but these errors were encountered: