gitgit-bash.git-folder

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


Solution

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

    git remote remove origin