Skip to Content
Learn
Deploy Your Website to GitHub Pages
Commit Your Changes

We’re almost there! Git also needs to know exactly which files should be pushed to your repo.

In this case, we want to push all of your site’s content to the repo. This means we will do the following two things (in order):

  1. Add all of your site’s content to the Git staging area
  2. Commit (save) your changes

Instructions

1.

Add all of your site’s contents using the following Git command:

git add .
2.

Save your changes using Git’s commit command and the following commit message:

git commit -m "Save my work"
Folder Icon

Sign up to start coding

Already have an account?