O'Reilly logo

GitHub Essentials by Achilleas Pipinellis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tips and tricks

Did you know that you could use different e-mail addresses depending on the organization you are member of? Are you aware of how much disk space your repository takes? If no, read below and learn how to perform these actions.

Finding the size of your repositories

If you are curious to know how big your repositories have become, you can visit https://github.com/settings/repositories and see it for yourself. Remember that GitHub also counts the size of the .git directory, so if you have thousands of commits, the repository size will be greater than its actual size (by actual size, I mean whatever files you see on GitHub).

For example, the diaspora repository at the time of this writing seems to be 101.17MB:

If I were to remove the

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required