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
30 Also the git-annex-common-options(1) can be used.
31
33 git-annex(1)
34
35 git-annex-dead(1)
36
37 git-annex-filter-branch(1)
38
40 Joey Hess <id@joeyh.name>
41
42 git-annex-forget(1)