summaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-08-28 15:57:42 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-08-28 15:57:42 -0400
commit0ffe5408ae1b396453f080bef2858542317daf23 (patch)
tree1fe478130f94ac1d1535ce650aff6c0b86a831b8 /doc/git-annex.mdwn
parent0a297232a206af8330dc4fe9acc5916d6ba32f19 (diff)
untested transition detection on merging, and transition running code
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 7cac9087d..72e376d64 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -479,6 +479,24 @@ 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, files that are no longer present on
+ any remote, etc. The resulting branch will use less space, but for
+ example `git annex log` will not be able to show where files used to
+ be located.
+
+ To also prune references to remotes that have been marked as dead,
+ specify --forget-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 branch. 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