aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex-forget.mdwn
blob: b5d428cfbc24e706ce3925b15f689e3f2adf8fcf (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
32
33
34
35
36
37
# NAME

git-annex forget - prune git-annex branch history

# SYNOPSIS

git annex forget

# DESCRIPTION

Causes the git-annex branch to be rewritten, throwing away historical
data about past locations of files. The resulting branch will use less
space, but `git annex log` will not be able to show where
files used to be located.

When this rewritten branch is merged into other clones of
the repository, `git-annex` will automatically perform the same rewriting
to their local `git-annex` branches. So the forgetfulness will automatically
propagate out from its starting point until all repositories running
git-annex have forgotten their old history. (You may need to force
git to push the branch to any git repositories not running git-annex.)

# OPTIONS

* `--drop-dead`

  Also prune references to repositories that have been marked as dead.

# SEE ALSO

[[git-annex]](1)

# AUTHOR

Joey Hess <id@joeyh.name>

Warning: Automatically converted into a man page by mdwn2man. Edit with care.