SourceTree does not show files created in repository

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Highest
    • None
    • Affects Version/s: 4.2.12
    • Component/s: Git
    • None
    • Severity 1 - Critical

      When creating and adding files to a git repository from QtCreator, they do not show up in SourceTree - but command line Git and other tools (e.g. VS Code) show the files.

      This happens with 4.2.14 (297) on macOS 26.1

      This is quite a severe issue because files that simply in the UI don't get committed and might be lost. This makes SourceTree an unreliable tool.

      After using command line and un-staging a file from command line, it appears in SourceTree. E.g. the xxx.cpp now appears - but xxx.hpp does not. It is as if the file does not exist in SourceTree.

      Using system git (2.50.1) or internal git does not make any difference.

      The files do not have any difference:

       
       > ls -lO  xxx.*
      rw-rr@ 1 sk  staff    71 Nov 26 15:18 xxx.cpp
      rw-rr@ 1 sk  staff   180 Nov 26 15:18 xxx.hpp
       
       > xattr -l  xxx*
      xxx.cpp: com.apple.provenance:
      xxx.hpp: com.apple.provenance:
       
      > ls -le  xxx*
      rw-rr-@ 1 sk  staff   71 Nov 26 15:18 xxx.cpp
      rw-rr-@ 1 sk  staff  180 Nov 26 15:18 xxx.hpp
       
      > git status
      On branch develop
      Your branch is up to date with 'origin/develop'.
       
      Changes to be committed:
        (use "git restore --staged <file>..." to unstage)
      new file:   fdsgsdfgsdfg.py
       
      Changes not staged for commit:
        (use "git add <file>..." to update what will be committed)
        (use "git restore <file>..." to discard changes in working directory)
      new file:   xxx.hpp
       
      Untracked files:
        (use "git add <file>..." to include in what will be committed)
      xxx.cpp
       

       

            Assignee:
            Rahul Jain
            Reporter:
            AndreasLoew
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: