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

Re: Selectively commit/publish files to GIT

From
Keshav Kini <keshav.kini@gmail.com>
Date
Nov 8, 2013, 23:50 UTC
Message-ID
<87fvr6cv2l.fsf@gmail.com>
In-Reply-To
<CA+PenvEDY6mc+DyjXy4ebZKdK4R=ucM28MDXGC42XKxvJ=a-pQ@mail.gmail.com>
Thomas Manson <dev.mansonthomas@gmail.com> writes:
Show 8 quoted lines
>   The problem is that in Bazaar, I've commited some big files (63MB &
> 173MB), but this files are no longer in my project, only in the
> revisions files of Bazaar and now Git.
>
>   I don't need this files to be pushed on Github.
>
>   How can I search git history for big files and remove them, or mark
> them to be not published ?

I see you already solved your problem, but for future reference, there is a nice tool that is more limited in functionality than git filter-branch but also much faster and possibly easier to use:

    http://rtyley.github.io/bfg-repo-cleaner/
-Keshav
Previous: Thomas Manson
Message 5 of 5 in “Selectively commit/publish files to GIT”
  1. Thomas MansonNov 8, 2013
  2. Magnus BäckNov 8, 2013
  3. Thomas MansonNov 8, 2013
  4. Thomas MansonNov 8, 2013
  5. Keshav KiniNov 8, 2013

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.