Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is "add files via upload" commit message in GitHub repositories?

I see lots of repositories in GitHub with this commit message: Add files via upload.

enter image description here

But I couldn't figure out how this (probably) automatic commit message is made. I looked around to find a clue, but I couldn't find any reference for setting this commit message as default or something.

Why and how some commits are done with this message?

like image 880
Ali Tou Avatar asked May 10 '19 21:05

Ali Tou


People also ask

How do I add a commit to my GitHub repository?

GitHub should now look like this. At the bottom of the page where it says “Add files via upload”, write a commit message “Baby’s first commit”. Click on “Commit changes”.

How do I upload files to a GitHub repository?

On GitHub, navigate to the main page of the repository. Above the list of files, using the Add file drop-down, click Upload files. Drag and drop the file or folder you'd like to upload to your repository onto the file tree.

What is a GitHub commit message and why is it important?

Git commit message is crucial in the git workflow as it determines the cleanliness of the history. Here is how it relates to the workflow. notifies git to create a repository in your current directory. It does that by creating a subdirectory called .git. that stores all information about the repository.

How do I upload files to a pull request in Git?

Or, you can drag and drop files from your desktop onto the file tree. Once you’ve added all the files you want to upload, you can commit them directly to your default branch or create a new branch and open a pull request. This will look familiar if you’ve used the “New file” button before.


1 Answers

That seems to be the GitHub "Upload files" web GUI feature, as described here:

Publish your updated webpage onto GitHub Pages:

From GitHub, click on “Upload files”

https://rudeboybert.github.io/SDS192/static/images/rmarkdown_websites_3.png

Where it says “Drag additional files here to add them to your repository”, drag and drop all the files in your webpage.Rproj folder:

  • GitHub should now look like this.
    • Commit and push your changes:
    • At the bottom of the page where it says “Add files via upload”, write a commit message “Baby’s first commit”.
    • Click on “Commit changes”.

https://rudeboybert.github.io/SDS192/static/images/rmarkdown_websites_6.png

like image 66
VonC Avatar answered Sep 16 '22 14:09

VonC