Going live on GitHub Pages
-
Download GitHub Desktop
-
Add a repository to GitHub Desktop with File > Add Local Repository... or by dragging and dropping your entire
harmonic-collection
folder onto the GitHub desktop window.- This should prompt you with this error message.
- This should prompt you with this error message.
-
Click create a repository
If you didn't get this prompt or have other problems with push and commit, you might already have a git in your
harmonic-collection
- In Finder you can make invisible files visible with
Shift + CMD + .
- Delete the
git
folder and.gitattributes
file - Delete your repo in GitHub Desktop and on github.com
- Try adding your
harmonic-collection
folder as a repository again
- In Finder you can make invisible files visible with
-
Then commit this file and push your changes up to GitHub. Think of Git’s commits as tracked, commented, and reversible saves.
-
Go to your repository on github.com.
-
Change the visibility of your repository to public.
(Your repository will most likely be set to private, which will prevent you from publishing it.)- You will have to scroll all the way down into the Danger Zone and set it to public there.
-
Now that your repository is public you should be able to activate Pages.
-
You should be able to see your page (after a couple minutes) live on github.io:
This is just an example link. You have to use your GitHub username and your URL file-path might differ depending on how you chose to organize your
harmonic-collection
folder.
https://yourusername.github.io/harmonic-collection/index.html