[Git-annex] Files inserted by mistake in git

Joey Hess joey at kitenet.net
Thu Aug 16 02:25:16 CEST 2012


Olivier Le Thanh Duong wrote:
> I recently started to use Git Annex to manage my photos archives, however
> at some point in time I mistakenly added some files in git before removing
> them and add them again in git-annex, however the problem is now that they
> are stuck in git history and any time I clone the git repo it's 1.9G large.
> I have already a few annex with the file dispersed between them so I
> suppose I can't just do a rebase. Is there any way to fix this mistake? Or
> do I have to restart everything from zero?

You can use git-filter-branch, but will then need to re-clone, probably.

-- 
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/20120815/e7256a88/attachment.pgp>


More information about the vcs-home mailing list