Removing git-annex Repo

Joey Hess joey at
Fri Dec 2 21:18:52 CET 2011

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.

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: <>

More information about the vcs-home mailing list