writing notes

ALWAYS do it on working!!!!

  • notes (with dataview)
git checkout working

MAKING CODE CHANGES

  • layout files
  • config files
  • anything in VS Code

do it on deploy!!!!!

once ready:

bash git add . git commit -m "update layout / notes" git push origin working


when deploying to the live site

Now you need those changes to reach deploy (the live site).

git checkout deploy
git merge working  
git push origin deploy
  • merges the changes from the working branch ONTO deploy, so deploy (the quartz syncer dataview→markdown notes) NEVER TOUCHES your working stuff.

cheat sheet

CommandMeaning
git checkout -b deploycreate + switch to deploy branch
git branch -m working-branchrename current branch to working-branch
git checkout v4switch to working-branch