SourceTree unable to track my .lib files

nxa08002
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 23, 2018

Hello, I contact you because I face to an issue with my (installation/settings ? of) SourceTree that I can't fix myself. In fact, my SourceTree does not recognize my library files, ie files with the extension .lib. I have tried to add a dummy file (excel one) inside my repository, SourceTree sees the change (then I would have to Stage/Commit/Push to upload this dummy file onto my Bitbucket server). When I do the same with a .lib file, SourceTree does not see the change in such a way that when I do a Stage/Commit/Push, nothing happens of course, meaning that this .lib file is not uploaded onto my Bitbucket location. There is nothing related to the lib files into my .gitignore. Could you help me with this please ?

3 answers

1 vote
EEAA
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 1, 2020

Hello,

I know this is an old issue and it was already solved, but I found the same problem with several git GUIs.

Finally, making use of git bash and git check-ignore command, I found a gitignore_global.txt file in "C:\Users\<username>\Documents\gitignore_global.txt", where *.lib was included. Removing that line solved the problem.

Hope this helps and kind regards.

0 votes
nxa08002
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 28, 2018

Hi Michael, thank you very much for your answer. In fact I fixed that several days ago by doing exactly what you suggest, ie, display the Ignored files within my workspace through SourceTree. And for a reason I still ignore (they were not mentioned in my .gitignore), all these library files were ignored. I just added them from SourceTree and that's it !!

 

Thanks again for your answer

Stephane

0 votes
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 28, 2018

Hi

Can you see the .lib file in the File Status view? If not can you see it if you do a Search, top right of Sourcetree's File Status view, if so what status does it show.

I know you say it is not your .gitignore, that would suggest the file should show up when you use Git Bash from the Sourcetree Terminal button in the the toolbar. Can you see the file there and does Git show it as modified?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events