Find size of Git repository

What’s a simple way to find the size of my Git repository?

And I don’t mean du -h on the root directory of my repository. I have a lot of ignored files, so that size would be different from my total repository size. I essentially want to know how much data would be transferred upon cloning my repository.

8 Answers
8

Leave a Comment