Git Gui showing 8000 files from AppData
Git Gui
is showing over 8000 files f开发者_如何学Crom the .gem
and AppData
directories which is preventing me from seeing my actual repository.
How can I prevent git from seeing these files?
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 .gitignore
with the following:
.gem
AppData
Make a .gitignore file and insert patterns for all files you want to exclude there,
.gem
AppData
should do the trick
精彩评论