Re: How to safely remove a blob

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rolf Wester venit, vidit, dixit 15.02.2011 09:13:
> Hello,
> 
> in one of my git repos I found an 102 MB object that probably came in there more or less occasionally.
> Its a blob and I would like to remove it safely. I tried to figure out how to do it but I was
> not very successful. I guess simply deleting the file could corrupt my repo or at least the clones of
> that repo.
> 
> I would be very appreciative for any help.

If nothing references that blob then it will go away eventually. The
last section of git-filter-branch's manpage (checklist for shrinking a
repo) details the steps you can take to get rid of it now. (You should
be already in the situation after applying filter-branch and removing
refs/original/*.) If the blob still persists then it is referenced.

Michael
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]