Reputation: 35
I'm new to git and on "git status" I find my hard drive content as *"untracked files". I tried all solutions I found in other posts without being able to solve the problem.
How can I make sure to remove the untracked files from git without deleting them from my hard drive?
Upvotes: 1
Views: 730
Reputation: 7845
You should try use a .gitignore file on the root of your git project folder.
here's a nice explanation: https://help.github.com/articles/ignoring-files/
and a collection of commonly useful gitignore files: https://github.com/github/gitignore
Upvotes: 0