Removing git-annex Repo

Joey Hess joey at kitenet.net
Fri Dec 2 21:59:59 CET 2011


Joey Hess wrote:
> Klaus Ethgen wrote:
> > is there a other way than "git checkout git-annex; sed -i -e
> > '/<hash>/d' **/*(.); git commit -a; git checkout master" to remove a
> > repository completely from annex knowledge?
> 
> Well, that doesn't actually work; if you do that and then pull a
> independantly changed git-annex branch from a remote, the
> auto-union-merge will then add back all the lines you removed.
> 
> Marking the repository untrusted is the usual way.

With that said, the next release of git-annex will allow "git annex dead"
to be used to indicate a repo is gone. The info will still
be there in git, but it will avoid talking about this painful loss. :)

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.madduck.net/pipermail/vcs-home/attachments/20111202/1dcd7287/attachment.pgp>


More information about the vcs-home mailing list