To clone this repo, use the either of the following commands:
git clone git@github.com:/hci-group-15/hci-group-15.github.io ./blog && cd blog && git switch dev # Via SSH
git clone https://github.com/hci-group-15/hci-group-15.github.io ./blog && cd blog && git switch dev # Less secureAlways make sure to commit your changes to the dev branch, as you don't have write access to the main branch.
You probably currently have the main branch checked out. See below.
Otherwise, you may not have the correct git remote or GitHub may be down.
If you accidentally commit to the main branch and can't push, you can move your commit to the dev branch using the following commands
git checkout dev
git merge main
git checkout main
git reset --hard HEAD # Careful, this IRREVERSIBLY deletes any changes made
git checkout devIf you for some reason had the main branch checked out, but realized before committing, you can change the branch using
git switch devTo preview the docs, you need to run the following commands:
npm i # Only needed the first time to install deps
npm run docs:dev