writing notes

ALWAYS do it on working-branch!!!!

  • notes (with dataview)
  • layout files
  • config files
  • anything in VS Code
git checkout working

once ready:

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-branch  
git push origin deploy
  • merges the changes from the working branch ONTO deploy, so deploy (the quartz syncer dataviewmarkdown 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

see also