Varshaa Shetty
Varshaa Shetty

Reputation: 1

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

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.sstatic.net/YJ3EO.png)

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

Upvotes: -1

Views: 76

Answers (1)

moses mccabe
moses mccabe

Reputation: 64

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

git remote remove origin

Upvotes: -2

Related Questions