Somehow I must have initiated a git at my home directory because now when I type 'git status,' I'm getting a whole list of of 'untracked files' which include my personal folders for my computer that have nothing to do with Github (Pictures, Downloads, Documents, Desktop, etc...).
When I type ls -a
at my 'root' (for me, it's at /Users/(my name)
), I am seeing .git
which means I have a git directory here and am not supposed to. I found a related question on stack overflow below - my follow up to this question is, since I have folders within my home drive that are legitimate git repos and that I do want to keep, I want to make sure I'm not deleting those with the recursive rm
.
I am a super newbie, so it's difficult for me to know what I should even be searching for. I've spent a few hours on this already with little progress. Another possible solution I've found is to add my home drive to gitignore, but it would be even better if I could completely remove the '.git' from my home folder completely.