Gitignore issue Eclipse With Gradel, Git Client: SourceTree

Hi,

I’m using eclipse as IDE with Gradle and Sourcetree as Git Client. And I want to use “.gitignore” to untrack some folders and files in my project. How can i do that? My actual file (.gitignore) is like that and don’t work: '# Ignore folders res/ext//* res/tmp//* res/file//* res/yArch//* ’ '# Ignore specific type files res/prop/*.properties ’