summaryrefslogtreecommitdiff
path: root/doc/forum/Using_a_glacier_remote_as_a_backup/comment_1_bb6022943ec739b1e80351c76f259e89._comment
blob: c6899e42224af28561eac81c11757ea8ad4a1065 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[[!comment format=mdwn
 username="joey"
 subject="""comment 1"""
 date="2015-05-11T16:58:01Z"
 content="""
Your status shows that test.txt is deleted.
`git annex get` does not un-delete files, it just gets the *content*
of a file (whether that file is deleted or not).

You can use normal git commands to un-delete the file. Ie, "git checkout
text.txt". If you're using direct mode, you can't use such commands, but
can use "git annex undo" to undo a deletion.

Normally, if you have a bare repo, you'll want to clone it to get a non-bare
repo. I suspect you did something else that resulted in your repo being in
this state were files are deleted.
"""]]