Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-27172

Deleting files from project gives `git rm` error despite working

XMLWordPrintable

    • Linux/Wayland

      See the attached project.

      Right click on main.cpp in the Projects pane > Remove ... > Check "Delete file permanently" > Ok > "Remove the file ... (git) > Ok.

      The file seems indeed to be removed from Git, but gives an error:

      14:38:25 Running in /home/ah: /usr/bin/git rm --force main.cpp
      fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git
      The command "/usr/bin/git rm --force main.cpp" terminated with exit code 128.
      

      So it looks like the working directory is not correctly set (should be /home/ah/TestRemoveFile) when running the `git rm` command.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            orgads Orgad Shaneh
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes