I got a project. A client wants her prestashop site uploaded to github.
I started adding and committing one folder at a time. At a certain point, github started returning an error.
How would you solve this issue of uploading a site with thousands, if not tens of thousands of files to github?
I have Windows.
Edit:
Hi there. I added some files. I was adding bit by bit. Then what happened was I got greedy and added too many files at once. Now, no matter what I try, I keep getting this error. How can I fix this?
$ git push
Enter passphrase for key '/c/Users/guestaccount/.ssh/id_rsa':
Enumerating objects: 35931, done.
Counting objects: 100% (35931/35931), done.
Delta compression using up to 12 threads
Compressing objects: 100% (35856/35856), done.
remote: fatal: pack exceeds maximum allowed size
fatal: sha1 file '<stdout>' write error: Broken pipe
error: remote unpack failed: index-pack abnormal exit
To github.com:(mygithubid)/(repo).git
! [remote rejected] main -> main (failed)
error: failed to push some refs to 'github.com:(mygithubid)/(repo).git'
I am using Visual Studio Code and git bash to upload.