Jon Lee

website guide

Publishing your changes to the web

You’ve edited your website’s files and want to publish them to the web. Doing this is a two-step process.

First, you’ll commit those changes to your local repository. Then you push those same changes to the remote repository, which is hosted on GitHub’s servers. GitHub detects those changes and refreshes your website.

Commit to your local repository

Go to GitHub Desktop. The app should reflect the changes you’ve made that differ from what’s in your local repository. Click through the files in the sidebar to confirm the changes you want to commit are correct.

Enter a note about the changes. It’s more useful to say why you’re making the change instead of what the change is. If you’re making a change to one file, GitHub Desktop will automatically fill in the summary. Otherwise, it will require you to enter a summary.

Commit the changes to your local repository by clicking Commit to main.

Push all of the changes to the internet

When you’re committed all of the changes locally and ready to see those changes live on your website, you will need to push your commits to GitHub. You are pushing your changes to the remote repository. GitHub will automatically detect those changes, and refresh your site.

Fine print: Limitations

GitHub has some usage limits:

Hi! Have a comment, question, complaint, observation, or criticism about this post? Leave your comment below!