Skip to content

Instantly share code, notes, and snippets.

View codeavenger07's full-sized avatar

codeavenger07

View GitHub Profile

Prompt one

Company: Acme computers

Version control platform(s): Many GitHub Enterprise instances installed throughout the company by different teams. Acme Computers is trying to standardize on GitHub Enterprise and consolidate their GitHub usage onto a single instance. The company has many instances of other Git hosting solutions installed as well. Some are fully supported applications. Other instances are on machines under people's desks.

Customer requests:

Shrink large repository: Acme wants GitHub to help them shrink the large repository to a more manageable size that is performant for common Git operations. The large repo is a project that is high visibility with an aggressive roadmap. They request that we help them within the month. It's a large, monolithic repository.

1. Identify the contents of the repository. Depending on the contents, there are different ways to shrink the size of the repository. Also determine the original size - git count-objects -v should give an idea as to the size.