1git-annex-restage(1) General Commands Manual git-annex-restage(1)
2
3
4
6 git-annex-restage - restages unlocked files in the git index
7
9 git annex restage
10
12 Since getting or dropping an unlocked file modifies the file in the
13 work tree, git needs to be told that the modification does not change
14 the content that it has recorded (the annex pointer). Restaging the
15 file accomplishes that.
16
17 You do not normally need to run this command, because usually git-annex
18 is able to restage unlocked files itself. There are some situations
19 where git-annex needs to restage a file, but the git index is locked,
20 and so it cannot. It will then display a warning suggesting you run
21 this command.
22
23 It's safe to run this command even after you have made a modification
24 to an unlocked file.
25
27 git-annex(1) git-annex-smudge(1)
28
30 Joey Hess <id@joeyh.name>
31
32 git-annex-restage(1)