Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6198657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:03:19+00:00 2026-05-24T04:03:19+00:00

I have a codebase that (until now) used git to store its dependencies. The

  • 0

I have a codebase that (until now) used git to store its dependencies. The repository itself is available here (warning: it’s HUGE). Needless to say, I need to remove the dependencies from the repository history in order to cut it down to a reasonable size.

I started by using David Underhill’s instructions to remove the lib directory from the history. Even after doing this, however, the repository is still over 300M. Issuing git prune and git repack helps, but it’s still over 180M.

In an attempt to find any bloated blobs, I issued

git verify-pack -v .git/objects/pack/pack-*.idx | grep -v chain | sort -k3nr | head

with these results:

105526b5d3d398b9989d88c2f9fc2d1dc96a85b8 blob 35685609 33600527 31978828
d296935e6ac5f3f58b50c789394c9769116e9c34 blob 35658016 33593241 112485744
50636f931180a32764edadd854968a971a083f8a blob 28360290 25897864 233390
b9e4dd37428e879a258f297b7f5bcfb9ba869695 blob 13108002 11640713 66661788
08d2720b2414aa07ce419b17d5f80c333c7313b7 blob 12551621 11124009 89231035
6197a478a461275a0396f20c28487e9ae619a5f9 blob 11975135 11058259 148211988 1 50636f931180a32764edadd854968a971a083f8a
549eb0c73776fd0ede27a2fcb03366f76f45a13c blob 9136086 8166649 166451273
5bc0a0f04a7004bc16cfab1c091c6b369fb74049 blob 9072616 8270262 80951514
741480238a6a6ce612cf089245dd46d6890fba9f blob 8858569 8080252 101294029
744226651c55b14c1aa8affb78fba4fdf02b577c blob 7412220 6766404 186825167

This is where I’m stuck. I can git show these blobs and see that they look very much like jar files, but I can’t figure out why they’re still in the repo.

Various attempts to find their filenames failed.

git repack -a, git repack -ad, and git repack -Ad all seem to have no effect.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T04:03:19+00:00Added an answer on May 24, 2026 at 4:03 am

    Have you tried running git gc? http://www.kernel.org/pub/software/scm/git/docs/git-gc.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I got a simple question here Let's suppose we have a codebase that employs
I have a large codebase that targetted Flash 7, with a lot of AS2
I have a fairly large codebase that depends on MooTools v1.11 and am about
I have seen a codebase recently that I fear is violating alignment constraints. I've
I have a fairly large PHP codebase (10k files) that I work with using
I have a very large codebase (read: thousands of modules) that has code shared
We have a service that opens several HttpWebRequests. It ran fine under 3.0 until
I'm on a team using Git right now, and we have a pretty good
I have a codebase of Javascript files that I use to drive a Web
I have switched our internal codebase to use Mercurial, with a hosted remote repository.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.