From 7e0335de85f91193f343dc6bc58f4ab4db8895ac Mon Sep 17 00:00:00 2001 From: "http://hendry.iki.fi/" Date: Thu, 26 Mar 2015 01:50:44 +0000 Subject: [PATCH] --- ...w_to_delete_a_file_in_direct_mode__63__.mdwn | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/forum/How_to_delete_a_file_in_direct_mode__63__.mdwn b/doc/forum/How_to_delete_a_file_in_direct_mode__63__.mdwn index f30e9b8db2..7e95224f9e 100644 --- a/doc/forum/How_to_delete_a_file_in_direct_mode__63__.mdwn +++ b/doc/forum/How_to_delete_a_file_in_direct_mode__63__.mdwn @@ -12,3 +12,20 @@ I expected to maybe type `git status` to see the missing file and later confirm fatal: This operation must be run in a work tree What should I be doing? + + + +My use case is that I'm organising my media in a staging area called **uploadme/**. + +At this staging area, I add all the media into git-annex and then I go to work pruning, editing & [adding metadata](https://github.com/muennich/sxiv/blob/master/exec/key-handler#L29). + +# Pruning + +If I find an image I don't like I move it to `/tmp`. + +I expected to maybe type `git status` to see the missing file and later confirm that I don't want it. But when I type `git status` I get: + + X1C3:~/media/uploadme$ git status + fatal: This operation must be run in a work tree + +What should I be doing?