writing notes
ALWAYS do it on working!!!!
- notes (with dataview)
git checkout workingMAKING 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
| Command | Meaning |
|---|---|
git checkout -b deploy | create + switch to deploy branch |
git branch -m working-branch | rename current branch to working-branch |
git checkout v4 | switch to working-branch |