Cannot stage files that've been delted

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Medium
    • None
    • Affects Version/s: 1.8.1
    • Component/s: None
    • None

      When a file is deleted the latest version of Source Tree can't stage the delete file so I can't commit the file deletion.

      In my case a file has been renamed in Windows Explorer e.g. file_ver_0129.c has become _file_ver_0130.c Source Tree sees this as one file being added and one flle being deleted - I have added and committed the new file to the repository, but when I attempt to stage/commit the deleted file I get the error:

      git -c diff.mnemonicprefix=false -c core.quotepath=false rm -q -f – file_ver_0129.c
      fatal: pathspec 'file_ver_0129' did not match any files

      Completed with errors, see above.

              Assignee:
              Unassigned
              Reporter:
              Deleted Account (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: