I use GitHub to submit and update my R packages. Bioconductor requires that the tarball size should be less than 5MB. My original package is less than 1MB but the .git directory is about 97MB. How do I clean the .git directory?
Note that my Bioconductor issue number is 395.