Re: Migration problems from SVN
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Jan 6, 2009, 12:39 UTC
- Message-ID
- <200901061339.49843.trast@student.ethz.ch>
- In-Reply-To
- <c09652430901060409p23d2737ck6e41b3f8f1eaf01@mail.gmail.com>
Øyvind Harboe wrote:
> If I early on and accidentally commit a *large* binary object, how do I get rid > of it from .git again?
git-filter-branch can do that. See the top of the EXAMPLES section in
http://www.kernel.org/pub/software/scm/git/docs/git-filter-branch.html
This requires a rewrite of all history affected; make sure you understand the implications if you have already published it. See the DISCUSSION in the same manpage.
Also note that due to the distributed nature, you cannot force such changed history upon anyone; i.e., you cannot remove the objects from anyone else's repository. You can only ask them to accept your new history and forget that the old one was ever there.
--
Thomas Rast
trast@{inf,student}.ethz.ch