Search code examples
githubcommit-message

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?


Solution

  • 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