My entire folder with in-built program files is a working directory for git, it has been tracking all my files, I want to remove .git entirely

93 views Asked by At

I do not know to use git bash I ended up doing something and now it's been tracking all my files, what should I do to remove that entirely from my system?

The files that are being tracked:

(https://i.stack.imgur.com/YJ3EO.png)

I thought of using rm -fr .git But I am scared if it would delete files from my local system

1

There are 1 answers

0
moses mccabe On BEST ANSWER

I'm assuming everything is being push onto a Remote Repository. In that case used:

git remote remove origin