I've just used git-tfs
to checkout a TFS repo into a Git repo. The .git
directory comes to 2.33GiB, and the primary reason for this is a couple of large directories coming to about 650MiB each. Each directory is chock full of (roughly 1500) JPEG image files that range from 50KiB to 5MiB in size.
This obviously makes the Git repo uncomfortably large, and yet the images do kind of logically fit into the solution as they are converted to smaller sized images and served out to the client. A few of them would be OK, but the sheer number of them takes the repo to being too large. Neither Github nor Bitbucket will even allow you to push a Git repository larger than 2GB (Github don't explicitly state this but I tried to push it and it failed). What would be the best way to handle this? This question on this same site has top answers suggesting that it's basically OK to check images into source control.