We have recently moved to Git. Our new repo is 350MB and ~215MB (61%) of that is directory named Documentation
. Besides that repo contains source code and few WiX projects used by build process (TFS Build) to generate installers.
Primary users (developers) do not need documentation directory (it is full of semi-manually-crafted pdf files and other stuff that gets packaged into installers). Only final/CI build is using Documentation
directory.
I am looking for an advice on how to move out
documentation somewhere in such way that it:
- gets out of the way of developers (i.e. git clone needs to pull only ~135MB+ of compressed data)
- keeps build process simple and does not interfere with normal CI process
One idea I have is to move docs into a separate repo and import it as a Git submodule. Seems a bit inconvenient, tbh...