#How do I remove github features from a new react app project I created?

3 messages · Page 1 of 1 (latest)

sweet shore
#

So I created a new react project using npx create-react-app. Now I started editing the files, and source control tab in vs code is prompting me to commit and push. But I never wanted to link that project with any github repository. So how can I remove the git features from the project? and are files like gitignore and readme.md required?

In short, I don't wany any commit notifications and in-editor git local working changes to be shown.

P.S. new to git and react!

patent thistle
#

@sweet shore open the project folder in your file explorer and show hidden files, you should see a .git folder in there. Delete that and it will stop the project linking to a git repo

sweet shore
#

Thanks a lot, that solved it!

I only found the 'git enable : false' fix in the internet. It created new settings json for vscode, and disabled git temporarily but didn't remove the files.

This deleting from file explorer method cleared it once and for all!

Thanks again 👍