Work in Webstorm, Git, commits?

Good day! the problem is the following: when you create a template using the create-react-app created template files (App.js App.css....) during the development process I delete these files and build the application architecture under. But as it comes to push to the repository appear these deleted files, as I understand it, when creating create-react-app initialisere first commit in which those files are stored. Tried to remove this commit, but failed)
The question of how to treat it?
April 4th 20 at 12:59
1 answer
April 4th 20 at 13:01
You can carry the template files, then delete the folder .git from the project and make re-init git init, then committing and push in rap
God bless you, good man!) - Brenna.Spinka commented on April 4th 20 at 13:04

Find more questions by tags JavaScriptWebStormReact