summaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-09-04 18:08:47 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-09-04 18:08:47 -0400
commit02b51c10f48e9205d2a18d58430143be6f3ae78e (patch)
treeb8dbdc4a79a300d8aa451a04831e238ead45e753 /doc/git-annex.mdwn
parentf77547a335232d85af462764ce90531815b1fea3 (diff)
parent5fb17c2c28288ae2a663d2ce5ec32ff627d608b5 (diff)
Merge branch 'master' into encryption
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index fa74f77d7..ec972a581 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -503,6 +503,23 @@ subdirectories).
Upgrades the repository to current layout.
+* forget
+
+ 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.
+
+ To also prune references to repositories that have been marked as dead,
+ specify --drop-dead.
+
+ 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
+ propigate 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.
+
# QUERY COMMANDS
* version