Linked Questions

8 votes
1 answer
5k views

I'm using git filter-branch --subdirectory-filter dir/name -- --all to build a repo that only has history relating to that dir/name. Before I do the filter, I clone the original repo (which is very ...
jettero's user avatar
  • 845
8 votes
1 answer
12k views

So I'm using git on a personal server and I had an old repo that I needed to update. I removed a bunch of old files and committed and pushed the change. I'm using a web UI for it on my server (Gitlist)...
Febble's user avatar
  • 225
9 votes
1 answer
3k views

I have a repository with only one commit that has a checked out size of 95M. However, I cannot get the .git folder size below 213M. However, if I create a new repository with the same file contents, ...
vossad01's user avatar
  • 12k
4 votes
1 answer
4k views

I have a repo with lots of commits and lots of Blobs. I want to migrate to LFS because it takes significant time to clone and fetch the repo; However, when running the git lfs migrate import command, ...
user avatar
6 votes
2 answers
7k views

We are working in a group and committing data daily in large numbers due to which .git folder is becoming very heavy in size. And while performing the pull command on our system, it takes a lot of ...
samnit's user avatar
  • 149
6 votes
2 answers
2k views

Let's say: top.git └── sub.git => 75fc7 The top-level Git repository top.git refers to commit 75fc7 in sub.git. The submodule Git repository sub.git has neither branches nor tags leading to ...
uvsmtid's user avatar
  • 4,293
1 vote
2 answers
7k views

So I'm doing a project in Unity and I was curious why my project size is so large (200 GB), and then I realized there is a hidden .git folder whose size is 80 GB. Someone told me to compress my ...
matmalm's user avatar
  • 11
3 votes
2 answers
5k views

I have a problem where I believe my sqlite3 database is too big. I imported around 100,000 records into a database and I was able to "git push" and "git push heroku." Now I probably made a mistake ...
Dan's user avatar
  • 159
5 votes
1 answer
2k views

According to my understanding, folder .git contains all the blob and commit objects. So it will always be larger than the files in the working directory. How can this happen? Is it because the ...
Karl's user avatar
  • 755
3 votes
2 answers
2k views

I am trying to set up a local Git for a 150 GB folder. I could finally make it work, but the .git folder in that repository also grew up to a bit over 100 GB, mostly from objects. Most of the big ...
Cristol.GdM's user avatar
2 votes
2 answers
2k views

I've got a git repo that I make automated commits to every day multiple times a day, but now the git repository is getting huge and taking a while to clone onto other devices. I'm wondering what the ...
MikeSchem's user avatar
  • 998
3 votes
1 answer
3k views

I have a large repository (Android OS instance) and I was trying to reduce the .git folder size (currently at 76G), since the build is running out of space. I tried running the git gc --prune=now --...
user avatar
0 votes
1 answer
2k views

My local GIT repository became very big and I'm trying to free some hard drive space. I deleted all my old branches and left only the last one. In order to delete branches from my repository, I used ...
Nir's user avatar
  • 2,112
1 vote
1 answer
2k views

When I try to push to my repositoty I see the following error message: Error: You have exceeded your disk space quota. Please upgrade your account or remove some data. fatal: Could not read from ...
user811433's user avatar
  • 4,179
1 vote
2 answers
2k views

To my knowledge there is no such thing in git as a built-in setting for 'max-history-length', i.e. a maximum number of commits after which the oldest ones will start to be 'dropped' into oblivion and ...
ccpizza's user avatar
  • 32.4k

15 30 50 per page