0

I'm using MacOS and I initialized /User/myAccount into a git repository by mistake. I don't really want that. How can I undo the init and make it back to the original look?

Hongxu Jin
  • 817
  • 2
  • 9
  • 16

1 Answers1

4

You can delete the folder created by git init using rm -rf .git/.

Shravan40
  • 8,922
  • 6
  • 28
  • 48