aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/How_to_delete_a_file_in_direct_mode__63__.mdwn
blob: 7e95224f9ed6ce030e68cd11d6f4da70c033032e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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?



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?