Push all from desktop to online?

324/5000

Hello, In github desktop I have several local files (800 files) that I would like to push to my main branch in github. I find to send them one after the other but I can’t find how to send everything at once … Is this possible? And how can I do it? Thank you for your help.

Hello @thierry-laval, welcome to the GitHub Support Community!

You said you’re using GitHub Desktop, correct? To add multiple files:

  1. Copy all of the files into the locally cloned repo.
  2. Commit all of the files with a summary. (a summary is required when multiple files have changed)
  3. Push the changes to GitHub.

Depending on the size of the files, it could take a little while to complete the task. Also, if you need any help with the steps above, please see this page on contributing with GitHub Desktop.

1 Like

On 3, yes but how ?

When I want to commit all my files I have to commit them one after one first! I have 800 files! How to commit directly with ALL my files? Without description… :slight_smile:

Yes yes, i found my question… How to commit 800 files in one time?

Just to clarify: are you using GitHub Desktop or the command line?

I use Github desktop. (i don’t use command line)
I have 800 files to commit, before push.
I don’t have to write something on the files.
Actualy i have to commit files one by one… So long
Do you have a solution to commit all 800 files in one time ?
:wink:
Thank a lot for your help

Hmm… that’s the odd thing, the steps I provided above should do the trick. Are you copying all of these 800 files into your repository’s directory at once? For example, I’ve copied the folder “lessons” (which has 800+ files) into my GitHub Page’s repo. These files show up in the changes column for review.

To commit the files, I need only include a summary and then I can commit them, and finally push the changes to GitHub. To commit all the files at once, make sure to click the checkbox next to “N changed files” until every file is checked.

See Committing and reviewing changes to your project for more information.

1 Like

Hello, thank you very much for this help.
It’s just awesome and very sweet.
I followed your recommendations and found my (beginner) mistake.
I only needed to include a summary, then I was able to commit them, and finally push the changes to GitHub.
You just had to put this summary … “Summary required” to be able to push all the files at the same time.
A big big thank you.
If you had a site to learn all these basics?
Very good day…

1 Like

You’re welcome! Yes, it is indeed something easy to miss. It’s optional for single file changes, however, when committing multiple files you need to include a summary. Went ahead and updated my earlier post with that info.

As for learning all the basics for GitHub Desktop, you may want to look through the documentation below as it should include everything you need to know.

https://docs.github.com/en/desktop