Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cannot ignore class ans wsdl files in SourceTree

I have bunch of .class and .wsdl files which simple are not ignored by SourceTree - ignore command in the drop down menu is not active


My .gitignore file looks like

# Default excludes

# Binaries

# Maven 

# IntelliJ project files 

# Unknown

Any clue what is going on?

1 comment

It looks like the icon is yellow. That means the file has already been committed, which is why you can't ignore it. Untracked files have a purple icon with a question mark.


This might help:

OK, so I have done 

git ls-files -ci --exclude-standard

related files were on the list so I have did

git ls-files -ci --exclude-standard -z | xargs -0 git rm --cached

and those "yellow" icon files were moved to Staged Files window instead removing them to be tracked.

Any clue on that?


Log in or Sign up to comment
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,695 views 4 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you