<your_username>.github.io/<your_repo_name>
Install git in your terminal
For Mac open your terminal and do:
brew install git
For Windows (video: https://www.youtube.com/watch?v=nbFwejIsHlY&ab_channel=TheGrokShop):
git status
Link your GitHub account to git
git config --global [user.name](<http://user.name/>) "John Doe"
git config [user.name](<http://user.name/>)
git config user.email ["[email protected]](mailto:%[email protected])"
git config user.email
ssh-keygen -t ed25519 -C ["[email protected]](mailto:%[email protected])"
Download your p5 sketch.
cd to your p5 sketch. cd Downloads/<your_project_folder>
Initialize the git inside your project. git init
Go to GitHub and create a repository.
Git add remote origin to your local directory. In your repository on Github copy the https link in Code → Clone → HTTPS and then run the following command in the terminal: git remote add origin[<https://github.com/><your_username>/<your_github_repo>.git](<https://github.com/bradtraversy/vue-crash-2021.git>)
Git add, commit and then pushhhh:
git add .
git commit -m "Push the code for the GitHub pages"
git push origin master