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

SourceTree unable to track my .lib files

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

0 votes
minnsey Atlassian Team Aug 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?

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
EEAA I'm New Here Apr 01, 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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,917 views 0 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