Deploying To Github
If you have already deployed your app to GitHub, go on to Deploying to GitHub again.
Goals
Steps
Step 1: Make a special new directory
Type this in the terminal:mkdir [your-github-user-name].github.ioStep 2: Initialize a new local git repository
Type this in the terminal:cd [your-github-user-name].github.ioType this in the terminal:git initStep 3: Make a commit
Type this in the terminal:touch index.html git add index.htmlType this in the terminal:git commit -m 'first commit'Step 4: Add GitHub as a remote
Type this in the terminal:git remote add origin https://[your-github-user-name]@github.com/[your-github-user-name]/[your-github-user-name].github.io.gitStep 5: Create a new repo via the GitHub UI
Step 6: Push your code to GitHub
Type this in the terminal:git push -u origin masterStep 7
Explanation
Back to Basic Javascript