I would like to know which factors contribute to the size of a git repo, Except the data of course.
Does having a long history means a big repo? Does having many branches have some affect on it?
Also how do you guys handle your commits? I read that each commit should have at least one logical unit of change added to it. I know that commits can be squashed by rebasing before pushing. (Never rebase published of course).
So i don't know if i should squash them or not. Because i don't know if it makes any change to the size or not.
Thanks