Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,361
Community Members
 
Community Events
168
Community Groups

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

Edited

Hi,

 

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.

Thanks,

Jibin

1 answer

1 accepted

0 votes
Answer accepted
minnsey Atlassian Team Dec 18, 2018

Hi

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

https://community.atlassian.com/t5/Sourcetree-questions/How-to-track-an-ignored-file/qaq-p/223359

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events