Getting started with Github Pages
February 19, 2015
Projekt Pages
Branch gh-pages:
code
git switch -c gh-pages
git add .
git commit -m "Publish"
git push origin gh-pages
Oder GitHub UI: Settings -> Pages -> Source.
User Pages
Repo: username.github.io
code
git init
git add .
git commit -m "Initial"
git remote add origin git@github.com:username/username.github.io.git
git push -u origin main
Eigene Domain
CNAME Datei im Repo:
code
www.example.com
DNS CNAME:
- Host:
www - Target:
username.github.io