update for filter-branch

This commit is contained in:
Joey Hess 2021-05-17 15:03:47 -04:00
parent c525d18cf7
commit 7d57866c3e
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 76 additions and 5 deletions

View file

@ -3,8 +3,14 @@
subject="""comment 1"""
date="2017-05-11T16:28:32Z"
content="""
This is a simple way to split a repository, but the resulting split git
repository will be larger than is really necessary.
2021 update: The new [[git-annex-filter-branch]] command
can be used to produce a filtered version of the git-annex branch that only
includes information for the files you want. I have updated the tip to
show how to do it that way, and kept the old way as an alternative
The old, alternative way is a simple way to split a repository, but the
resulting split git repository will be larger than is really necessary.
(The new method avoids this problem.)
When you `dropunused` all the hard links that are not present in the
repository, git-annex will commit a log to the git-annex branch saying "I