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

How can i add an ignored file back to the repository?




I am new to Git Methodology. I was trying to ignore some of teh files from Source Tree. Selected particular file (with one extension .CBL) and selected one entire directory by mistakenly. Now both are in ignored status.

Can you please help me to un-ignore the previously ignored files. Its not pushed to BitBucket. Still in my local repository only.



1 answer

1 accepted

0 votes
Answer accepted
minnsey Atlassian Team Dec 18, 2018


The simplest way is to open and remove the incorrect patterns from the .gitignore file in your repository.

Thanks... Please refer this link also to get an idea about how can we do teh same for global repositories..

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...

7,021 views 5 13
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