1git-annex-forget(1) General Commands Manual git-annex-forget(1)
2
3
4
6 git-annex-forget - prune git-annex branch history
7
9 git annex forget
10
12 Causes the git-annex branch to be rewritten, throwing away historical
13 data about past locations of files. The resulting branch will use less
14 space, but git annex log will not be able to show where files used to
15 be located.
16
17 When this rewritten branch is merged into other clones of the reposi‐
18 tory, git-annex will automatically perform the same rewriting to their
19 local git-annex branches. So the forgetfulness will automatically prop‐
20 agate out from its starting point until all repositories running git-
21 annex have forgotten their old history. (You may need to force git to
22 push the branch to any git repositories not running git-annex.)
23
25 --drop-dead
26
27 Also prune references to repositories that have been marked as
28 dead.
29
31 git-annex(1)
32
34 Joey Hess <id@joeyh.name>
35
36 git-annex-forget(1)