[dolphin] [Bug 414342] Why on Earth does "git remove" irrevocably destroy the file instead of ignore it?

Nate Graham bugzilla_noreply at kde.org
Wed Nov 20 21:40:56 GMT 2019


https://bugs.kde.org/show_bug.cgi?id=414342

Nate Graham <nate at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WAITINGFORINFO
             Status|REPORTED                    |NEEDSINFO
                 CC|                            |nate at kde.org

--- Comment #1 from Nate Graham <nate at kde.org> ---
That's just what git's remove operation does: blows away the file on disk. If
you don't want files in your git repo removed on disk, don't use git's remove
operation.

Now, this should probably be undoable, since we're in a GUI file manager after
all. But the bottom line is that this is just how git works. It is definitely
not known as the most user-friendly source control tool! Am I understanding
that you were intending to un-stage the file, i.e. undo an accidental action to
add it to the list of staged files?

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the kfm-devel mailing list