Website logistics
After committing and pushing get stucked:
for uncommited changes: git commit -m “Your commit message”
discard unstaged changes (note that directly copying from website will give a single - instead of consecutive two -): git checkout – .
for “already exists” branch: git branch -d branch_name
use link to restore: rebrase and other commands.
To create a new blog:
terminal (top of the mac computer) – new terminal – type hugo new blog/name.md – editing file – type hugo server – command + save – there will be a localhost link – to make it visible to others, need to click the branch button (thrid on the left) AND click “+” button AND write a message AND choose “commit and push”