Link Search Menu Expand Document

Creating new file

How to create a new file in GitHub Pages?

  1. Go to this website and log in.
  2. Open your repository.
  3. In your repository, browse to the folder where you want to create a file.
  4. Above the list of files, using the Add file drop-down, click Create new file.
    create
  5. In the file name field, type the name and extension for the file.
    namefield
  6. On the Edit new file tab, add content to the file.
  7. To review the new content, click Preview.
    preview
  8. Below the commit message fields, decide whether to add your commit to the current branch or to a new branch.
  9. Click Commit new file if you have chosen the main branch or Propose new file if you have chosen to create a new branch.

Back to top

This documentation is part of the reference materials for the Technical Communication course at Vistula University (Warsaw).