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: enter image description here

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.


Comments

Popular posts from this blog

How to logout from a login page in asp.net -

Stack level too deep error after upgrade to rails 3.2 and ruby 1.9.3 -