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

Re: Selectively commit/publish files to GIT

From
TMThomas Manson <dev.mansonthomas@gmail.com>
Date
Nov 8, 2013, 22:51 UTC
Message-ID
<CA+PenvG7CnkvN-XZE-uYBh42Yyqq23G5fOFRNhCU83m3V5f8sQ@mail.gmail.com>
In-Reply-To
<20131108141329.GA26790@google.com>
Hi Magnus,
 thanks for pointing that out. I must have overlooked the webpage,
when I saw that I thought it was some kind of alias that designated
files greater than a specific files (server side configurated as the
100MB limit)
  I'll try again ;)
Thomas.
On Fri, Nov 8, 2013 at 3:13 PM, Magnus Bäck <baeck@google.com> wrote:
Show 40 quoted lines
> On Friday, November 08, 2013 at 05:52 EST,
>      Thomas Manson <dev.mansonthomas@gmail.com> wrote:
>
> [...]
>
>>   How can I search git history for big files and remove them, or mark
>> them to be not published ?
>>
>> I've tryed this solution found on the link in the error:
>>
>> git filter-branch --force --index-filter   'git rm --cached
>> --ignore-unmatch giant_file'   --prune-empty --tag-name-filter cat --
>> --all
>> git commit --amend -CHEAD
>
> [...]
>
>> here is the error I have using the GitHub application on Mac :
>> (after that I intend to use Eclipse)
>>
>> File Ressources/dwr/dwr-3.0.0.110.dev-src.zip is 67.69 MB; this is
>> larger than GitHub's recommended maximum file size of 50 MB
>> GH001: Large files detected.
>> Trace: 8f0259b29260f0c4d7ae4d4ae70e0306
>> See http://git.io/iEPt8g for more information.
>> File .bzr/repository/packs/a7bcd6ba235114ab88c80fe8a97adcfa.pack is
>> 178.76 MB; this exceeds GitHub's file size limit of 100 MB
>
> Did you actually replace the 'giant_file' placeholder with the path to
> *your* giant file? The error message indicates that you didn't, or that
> something else went wrong during the filtering.
>
> You can use 'git log' to look for commits touching particular pathnames,
> making it easy to verify that a file has been eradicated.
>
> git log --all -- path/to/big-honking-file.zip
>
> --
> Magnus Bäck
> baeck@google.com
Previous: Magnus BäckNext: Thomas Manson
Message 3 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.