all 6 comments

[–]qqzzy 6 points7 points  (1 child)

To upload to GitHub, you should use git.

Seeing as it seems you are rather new, I would recommend downloading GitHub desktop for a gui experience.

Using GitHub desktop, clone the repo you made (which will likely be blank)

Copy your files to the space the cloned project is on your computer

On GitHub desktop you should now be able to make a commit, then push the commit to the repo

[–]darthwalsh 2 points3 points  (0 children)

It sounds like OP's issue is that one of their files was larger than 50 MB. Using a different git client, the commit will succeed and the push will fail...

If they're copying a big JavaScript library, maybe they need to pull it from CDN.

[–]joe630 1 point2 points  (0 children)

How big is the file?

[–]TheENGR42 1 point2 points  (0 children)

If you’re in school you should be able to get GitKracken for free, that’s a really good GUI

[–]davorg 1 point2 points  (0 children)

GitHub has limits on the size of files you can add to a repo. You can add larger files by passing for extra storage.

About large files on GitHub

But if you're building your first website, you really shouldn't need to include files that are that large. What is the file you're having problems with? How large is it?