git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Migration problems from SVN

From
ØHØyvind Harboe <oyvind.harboe@zylin.com>
Date
Jan 6, 2009, 12:09 UTC
Message-ID
<c09652430901060409p23d2737ck6e41b3f8f1eaf01@mail.gmail.com>
Hi all,

I'm trying to migrate from svn to git, but has run into a snag for which I haven't found any good solutions on the web:

If I early on and accidentally commit a *large* binary object, how do I get rid of it from .git again?

svn copes with this reasonably well as the binary object will no longer be downloaded if it is deleted. Also when converting old SVN repositories, such objects needs to be pruned. Somewhat related I also need to enumerate the offending large binary objects that I should get rid of.

It is unpractical to live by the rule that no big objects should ever be committed accidentally given the number of people involved and the walks of life they come from.... So there really needs to be some way to deal with this once the damage has been done.

-- 
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
Next: Thomas Rast
Message 1 of 3 in “Migration problems from SVN”
  1. Øyvind HarboeJan 6, 2009
  2. Thomas RastJan 6, 2009
  3. Øyvind HarboeJan 6, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.