java - Ignore android generated files fro, GIT -
i working on android (on windows os) project , don't want submit generated files. created .gitignore file in root dir notepad , added lines: shale/bin/classes/com/shale/activities/ shale/gen/com/shale/activities/ but when running in cmd git status see this: what should make git ignore this? i know git reading .gitignore file, because have create text file test.txt , added . gitignore , git ignored it. thanks it seems you've committed files before adding them .gitignore. try remove them command (it won't delete files): git rm --cached <your-files> commit changes, , on, git should ignore changes files. additionally can check out example .gitignore android projects .