`git gc` increasing used dist space

Open
#1,936 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
git
Domain
documentation

Research direction

Start with book/10-git-internals/sections/maintenance.asc and investigate the reported behavior of git gc --aggressive, including why the .git directory can grow and how storage can be reduced. Update that section with an accurate explanation and practical guidance for reaching minimum storage; done means the requested behavior and cleanup steps are clearly documented.

Written by the indexing model from the issue text.

Description

enhancement
General overview of your idea.

Please describe at https://github.com/progit/progit2/blob/main/book/10-git-internals/sections/maintenance.asc why sometimes after git gc --aggressive the storage for the .git directory does increase and how to decrease the storage to minimum.

What problem will this solve?

More clarity about git.

Have you thought about other solutions?

No response

Do you want to help with this enhancement idea?

No

Dominant language
CSS
Stars
6.6k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from progit/progit2

All issues in progit/progit2

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.