Reputation: 6891
I have repoA. And I am pulling from repoA and starting a new repoB. When I started pushing to repoB with the following command:
git remote add newName [email protected]:username/foo.git // this is bare
git push -u newName master
Counting objects: 6378, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (5974/5974), done.
Writing objects: 100% (6378/6378), 126.55 MiB | 5.11 MiB/s, done.
Total 6378 (delta 3030), reused 2533 (delta 388)
remote: error: GH001: Large files detected.
remote: error: File seqana/testdnaqualstore.dqc is 108.42 MB; this exceeds GitHub Enterprise's file size limit of 100.00 MB
Even I have removed the large file from repoA, the push to repoB is still getting exactly the same error message. I have tried all the posted method of solving this problem. All still not working. This is a test file that does not have to be in the repository. I can completely removed it from repoA. I wonder anyone has come up with a solution to this.
repoA has a larger file size limit.
Upvotes: 0
Views: 4657
Reputation: 719
remove file from commit history and retry pushing repo data to new repository. You may either use "git filter-branch" or "BFG Repo-Cleaner" to completely remove files from history. For more details please follow "delete file from git history". Hope this will solve your problem.
Upvotes: 3