1

I accidentally created a Git repository in my home folder. I was wondering what's the best way to remove the repository and it never happening again.

enter image description here

mkrieger1
  • 14,486
  • 4
  • 43
  • 54
Fahad
  • 35
  • 6

1 Answers1

1

happened to me as well, type this in the same directory. just make sure you make a new folder next time before git init

rm -rf .git
cdub
  • 50
  • 6