Oliver Ni Oliver Ni - 1 year ago 83
Git Question

Mac OS X - Git repository at user home

I recently wanted to free up some disk space on my mac, and using OmniDiskSweeper, I found that there was a .git folder in /Users/oliverni that took up roughly 25 GB of space.

I was really wondering why this was there, so I used GitHub Desktop to view the repository. Turns out, there was no history, only 77,721 uncommitted changes. I thought this was a little useless, and I wanted to delete it, but I don't know if it's being used by the system or not.

Answer Source

Delete it. OS X doesn't even ship with git installed by default so rest assured, those are not system files.

In the future, please direct these types of questions to Super User because Stack Overflow is not the correct place to ask. Thanks!