logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

git-annex-forget - prune git-annex branch history

Author

       Joey Hess <id@joeyh.name>

                                                                                             git-annex-forget(1)

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 gitannexlog 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.)

Name

       git-annex-forget - prune git-annex branch history

Options

--drop-dead

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

       Also the git-annex-common-options(1) can be used.

See Also

git-annex(1)

       git-annex-dead(1)

       git-annex-filter-branch(1)

Synopsis

       git annex forget

See Also