Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

How to track an ignored file

I ignored several files time ago, but actully I realised I need to track them again.

I can't find de way to do this.

Thanks in advance.

1 answer

1 accepted

21 votes
Answer accepted

Change the filter at the top of the file status view to 'Show Ignored', then right-click the files you want to track and click 'Add'.

[Edit]This is for ad-hoc choosing files to add, but if you actually want to undo the ignoring of those types of files entirely you have to edit your ignore list. If you ignored the files just for this repository, you do it via Settings > Advanced > Edit (next to the Repository-specific Ignore List), or if you ignored the files globally you do it in Preferences (mac) or Tools > Options (Windows), then go to the Git or Mercurial tabs and click the Edit File button next to the Global Ignore List field.

That helped a lot. The files can now be tracked again.

Hi Steve, thank you for posting this answer I've been having a very similar issue and have not been able to find a solution.

I see the option to add a file, but how to I add a whole directory back to index?

I've modified my gitignore, however the new changes have no effect.

Thanks again!

Suggest an answer

Log in or Sign up to answer
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...

3,896 views 4 7
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