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 ?
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
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.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
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