Git Gui is showing over 8000 files from the .gem and AppData directories which is preventing me from seeing my actual repository.
How can I prevent git from seeing these files?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use the .gitignore file. Place a file named .gitignore in the root of your checked out repository that includes the names of the files you want ignored. Wildcards are ok. Putting in a directory name will ignore everything in that directory.
Here’s an example from GitHub.
In your case you’d want a file named
.gitignorewith the following: