Reputation: 51
Can I remove it? in the Mac finder, this is a root directory, so I don't know how to get to where the .git file is to remove it.
Upvotes: 0
Views: 320
Reputation: 16634
in the Finder window, press ⌘⇧., then dotfiles will show up, you could delete .git
as you want, it might be ~/Documents/.git
.
just press it again to hide dot files again.
Upvotes: 4
Reputation: 607
Git keeps all of its files in the .git directory. Just remove that one.
rm -rf ~/Documents/.git
will do it.
Upvotes: 3