- Create a front-end project & name index.html
- cd into the project in terminal
- Run
git initto initialize the git repo in the project - Create & switch to branch called gh-pages -
git checkout -b gh-pages - Go to github.com the website and create a new repo
- Do not add a readme..
- Use the cheatsheat to add the remote -
git add remote.... - Run
git add .to add & stage all your files