Cant upload my folder to github

I cant upload my source folder to github. Says it has to many files wich is crazy…
What project has fewer than 100 files???

1 Like

Git can easily handle that many files and more, I guess you’re hitting a limitation of the GitHub web interface. Try installing the Git command line tools and using those instead. :slightly_smiling_face:

I’ve tried Git bash commands. Like been trying 3 different types of commands but nothing works. nothing happens just bunch of errors and unknown commands and what now :stuck_out_tongue:

I am having the same issue
can anyone be of help?

1 Like

It’s impossible to say what the problems might be without knowing exactly what you did and what errors you got. :wink:

If you’re not familiar with Git yet, take a look at the Git - Book. Chapters 2 and 3 are the most important ones if you’re short on time.

First off…

git init
git add <folder1> <folder2> <etc.>
git commit -m "Your message about the commit"
git remote add origin https://github.com/yourUsername/yourRepository.git
git push -u origin master
git push origin master

I tried this. It does not happen anything after command “git add”
Now what?

1 Like

Aside from the duplicate push at the end that looks about correct. What exactly do you mean this?

Like i wrote. I wrote “git init” and stuff happend. “initialized empty git rep”

But then when i did "git add . " it happend nothing.

You mean there was no output? That’s normal with git add, check git status to see what’s currently staged for commit. And check the documentation. :slightly_smiling_face:

I wrote “git status” and nothing happend :stuck_out_tongue:
I mean… this shit would have been easier if the drag and drop worked with over 100 files xD

I also see there is LOTS of others having the same issue. Github really needs to update their stuff :stuck_out_tongue:

I am also having this issue. but I can do everything but push to remote. Like after staging all of the files and and adding the remote I use “git push -u origin main” and my terminal could sit there for two days and nothing ever show up on my remote repo.