@siva-tn Is the repo you’re trying to upload the folder to public? If so, can you share the link to it? Also, what file formats are contained in the folder you’re trying to upload?
Or use command line:
cd into the directory where your folder is located
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 have tried to drag the folder but it shows folder contains more than 100 files, try with less number of files, is there another way to do so?, i have nearly train_data images in my folder.
Didn’t work in FF. GC worked fine though…
not working, only files were uploading not entire folder.
how to set path format in git add <folder>
Folder upload only works if contains less than 100 files.
I’m trying to drag and drop the build folder of a small react app and it doesn’t let me drop it in the web interface. Seems to be less than 100 files in the directory… Any idea what the problem might be?
Same here (once I’d worked out whatr FF and GC were). Something odd in Firefox I guess.
I have this problem too, I’ve created a new Repo on my Windows 10 Github Desktop, and it won’t upload some directories (e.g. build, lib) to github.com, the directory lib only has one binary file, can someone help how to solve this problem? Thanks,
Thanks man, It worked.
remote: Permission to Jean-Laurore/BookLibrary.git denied to jelaurore.
fatal: unable to access ‘https://github.com/Jean-Laurore/BookLibrary.git/’: The requested URL returned error: 403
Using the ‘Upload files’ button allows uploading fewer than 100 files.
Try GIT Bash, use the following codes to upload the whole folder.
- Open Git Bash.
- CD projectname
- $ git init
- $ git add .
- $ git commit -m “First commit”
- $ git remote add origin remote repository URL
- $ git remote -v [Note: Verifies the new remote URL]
- $ git push origin master
Hey there, how can I set repository in cmd when my git folder lies on desktop?
Thank you so much.
I seem been having the same problem.
But it doesn’t allow to upload files larger than 25 Mb
Thanks @matelaszlototh This worked like a charm!!
It’s too complicated for a very very simple task. I have followed these commands and got failed. So funny.
yeah, but you need a rat move.
It is not benefit for ones who rely mainly on command lines and work without a desktop environment.
This didn’t work for me,… it wanted less than 100 files. I tried to do it manually because it would push my latest changes. Well, it said it did, but it was only pushing up my git attributes.