From f2f8cd0996a1c86422ef998654969c592d7d3aa8 Mon Sep 17 00:00:00 2001 From: bergkazs <45137297+bergkazs@users.noreply.github.com> Date: Wed, 20 Sep 2023 06:09:01 -0500 Subject: [PATCH 1/2] Create web index.md page create web index page --- docs/index.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/index.md diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..27d1f50 --- /dev/null +++ b/docs/index.md @@ -0,0 +1,5 @@ +--- +layout: default +title: home +--- +Hello, world! From 2d1751aa61c9e1c25f9499d371a3deaba053c281 Mon Sep 17 00:00:00 2001 From: bergkazs <45137297+bergkazs@users.noreply.github.com> Date: Wed, 20 Sep 2023 06:40:07 -0500 Subject: [PATCH 2/2] Update index.md Add real content --- docs/index.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 27d1f50..faf668c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,4 +2,26 @@ layout: default title: home --- -Hello, world! +# My GitHub Pages site + +## Basic terminology + +You can think of a Git _repository_ as the folder for your project that contains all the component files, such as code, documentation, and examples. You can store your repositories on GitHub, where they can be publicly visible (open source) or be private and only accessible to certain users. + +When you start working on a project, you need to make your own _branch_ of a repository, which is a parallel version that contains your changes. As you make modifications, like adding or deleting lines of code or files, you save, or _commit_, your changes. + +To propose integrating your commits into the production version of the project, known as the _master branch_, you open a _pull request_. A pull request is the way you start a discussion with others about your changes. Other _collaborators_ on the project can review and approve your work. After your pull request is _merged_, your changes are added to the master branch. + +You can review the [GitHub Glossary](https://help.github.com/articles/github-glossary/) to learn more about common terms. + +## General workflow for making a website with GitHub Pages + +You can follow these general instructions to make a website with GitHub Pages. + +1. Create a new repository for your site. +2. Create a branch to hold your changes. +2. Add some files for your website. At a minimum, you need a file for the homepage. You can name this file index.md and use markdown formatting, or index.html and add the basic HTML page structure. +3. Open a pull request to propose adding your changes into the master branch. +4. Merge files into the master branch. +5. Go to the repository settings and enable GitHub Pages on the master branch. +6. Open browser to the page.