Skip to content

Git is tracking files that aren't there #21936

Answered by CaroloS
CaroloS asked this question in New to GitHub
Discussion options

You must be logged in to vote

Sorry I finally found a stackoverflow that helped - turns out I was tracking my home directory. I must have run git init from within the home directory at some point 🤦 . So just …

rm -rf .git

from the home directory did the trick.

https://stackoverflow.com/questions/34484800/entire-computer-in-git-status-untracked-files

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant