I would like to check my full solution into a source control repository (GIT). I am well aware of the discussion pertaining to whether or not to check in Nuget packages into source control. For various reasons I have decided I would like to put my Nuget packages in source control.
My question is: What files at minimum should be checked into the repository? There are various files which are obviously part of the build and some which are part of the Nuget setup. Is there some easy way of obtaining only the core (build related) files? I was hoping to do a simple "make clean" and check everything in, however it appears that after doing this, there are still .dll and .pdb files within the Nuget 'packages' directory.
Any guidance on this topic is much appreciated!