When to Use Local Editing
The CMS and local editing aren't competingâthey're complementary tools for different situations.
Use the CMS when:
- Making a quick fix (typo, broken link)
- You're away from your main computer
- You want changes live immediately
- You're less comfortable with Git
Use local editing when:
- Writing a new lesson from scratch
- Doing a major revision
- Working without internet
- You want Obsidian's power features
Many authors keep both options available and switch based on the task.
Complete Setup Guide
This setup has 6 parts. Follow them in orderâeach step builds on the previous one.
Time required: About 30 minutes for first-time setup.
Part 1: Install Git
Git is the tool that syncs your changes between your computer and GitHub.
On Mac
- Open Terminal (press Cmd + Space, type "Terminal", press Enter)
- Type this command and press Enter:
git --version - If Git isn't installed, a popup will appear asking to install developer tools
- Click Install and wait for it to complete (this may take a few minutes)
- Run
git --versionagain to confirmâyou should see something likegit version 2.39.0
On Windows
- Go to git-scm.com/download/win
- The download should start automatically
- Run the installer
- Important: Accept all the default optionsâjust keep clicking "Next"
- Click "Install" and wait for completion
- Open Command Prompt (press Windows key, type "cmd", press Enter)
- Type
git --versionand press Enter to confirm installation
Troubleshooting: If you see "command not found," restart your computer and try again. The installer sometimes needs a restart to complete.
Part 2: Configure Git with Your Identity
Git needs to know who you are (for tracking who made each change).
Open Terminal (Mac) or Command Prompt (Windows) and run these two commands, replacing the placeholder text with your actual information:
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
Use the same email as your GitHub account. This connects your local work to your GitHub identity.
Part 3: Clone Your Repository
"Cloning" downloads your curriculum files to your computer.
Step 1: Get Your Repository URL
- Go to your curriculum repository on GitHub
- Click the green Code button
- Make sure HTTPS is selected (not SSH)
- Click the copy button (đ) next to the URL
The URL looks like: https://github.com/yourusername/your-curriculum.git
Step 2: Choose Where to Store It
Pick a location on your computer. We recommend your Documents folder:
- Mac:
/Users/yourname/Documents/ - Windows:
C:\Users\yourname\Documents\
Step 3: Clone
Open Terminal (Mac) or Command Prompt (Windows):
# Navigate to your Documents folder
cd ~/Documents
# Clone your repository (paste your URL)
git clone https://github.com/yourusername/your-curriculum.git
Replace yourusername/your-curriculum with your actual repository path.
You'll see output showing files being downloaded. When it finishes, you have a complete copy of your curriculum on your computer.
Part 4: Set Up Obsidian
Step 1: Download and Install Obsidian
- Go to obsidian.md/download
- Download the version for your operating system
- Install it (drag to Applications on Mac, or run the installer on Windows)
- Open Obsidian
Step 2: Open Your Content as a Vault
- In Obsidian, click Open folder as vault
- Navigate to where you cloned your repository
- Select the content folder inside your repository (not the root folder)
- Example path:
Documents/your-curriculum/content
- Example path:
- Click Open
Why the content folder? This keeps Obsidian focused on your actual content files, not the code files you don't need to edit.
Step 3: Trust the Folder
Obsidian may ask if you trust this folder. Click Trust author and enable plugins.
You should now see your curriculum structure:
clusters/ â Your thematic groupings
lessons/ â Individual lessons
pages/ â Home and About pages
settings/ â Site configuration
Part 5: Install the Obsidian Git Plugin
This plugin lets you sync changes without leaving Obsidian.
- In Obsidian, click the gear icon (âď¸) in the bottom-left to open Settings
- Go to Community plugins in the left sidebar
- Click Turn on community plugins if prompted, then confirm
- Click Browse
- Search for "Obsidian Git"
- Click on Obsidian Git by Vinzent
- Click Install
- Click Enable
Configure the Plugin
- Still in Settings, scroll down to Obsidian Git in the left sidebar
- Recommended settings:
| Setting | Value | Why |
|---|---|---|
| Auto backup interval | 10 |
Saves changes every 10 minutes |
| Auto pull interval | 10 |
Checks for remote changes |
| Commit message | Update content |
Default message for auto-commits |
| Push on backup | â On | Automatically pushes when backing up |
Part 6: Authenticate with GitHub
The first time you try to push, Git needs to verify you have permission.
Create a Personal Access Token
- Go to github.com/settings/tokens
- Click Generate new token (classic)
- Give it a name: "Obsidian Curriculum" (or anything descriptive)
- Under Expiration, choose "No expiration" (or set a reminder to renew)
- Under Select scopes, check repo (this grants access to your repositories)
- Click Generate token
- Copy the token immediatelyâyou won't be able to see it again
Keep this token safe! It's like a password. Store it in a password manager or secure note.
Test the Connection
Let's verify everything works:
- In Obsidian, open any file (try
pages/about.md) - Make a small change (add a word, fix a typo)
- Open the command palette: Cmd+P (Mac) or Ctrl+P (Windows)
- Type "Git" to see available commands
- Select Obsidian Git: Commit all changes
- Select Obsidian Git: Push
The first time you push, you'll be prompted for credentials:
- Username: Your GitHub username
- Password: Paste your Personal Access Token (not your GitHub password)
If successful, check your GitHub repositoryâyou should see your commit!
Your Daily Workflow
Once setup is complete, your daily workflow is simple:
Starting a Session
- Open Obsidian
- Run "Obsidian Git: Pull" (Cmd/Ctrl + P, type "pull")
- Start editing
The pull step ensures you have the latest changesâimportant if you sometimes edit via CMS or from another device.
While Editing
- Files auto-save in Obsidian
- Make as many changes as you want
- Use graph view to see connections
- Use quick switcher (Cmd/Ctrl + O) to jump between files
Ending a Session
- Run "Obsidian Git: Commit all changes"
- Run "Obsidian Git: Push"
Or, if you've enabled auto-backup, just close Obsidianâchanges sync automatically.
Obsidian Features for Curriculum Authors
Graph View
The graph view (View â Graph view) shows your content as a network of connected nodes. For a curriculum, this reveals:
- Which clusters have the most lessons
- How content is interconnected
- Orphaned files that might need attention
Quick Switcher
Press Cmd/Ctrl + O to instantly jump to any file by name. This is faster than navigating folders when you're editing multiple lessons.
Templates
Create a template for new lessons:
- Create a
templates/folder in your vault - Add a file like
lesson-template.mdwith your standard frontmatter - Use the Templates core plugin or Templater community plugin to insert it
Example template:
---
title: ""
slug: ""
cluster:
order:
description: ""
objectives:
- ""
key_concepts:
- name: ""
explanation: |
---
## Introduction
Search
Use Cmd/Ctrl + Shift + F to search across all files. Useful for:
- Finding all mentions of a concept
- Checking consistency across lessons
- Locating content to link to
Handling Conflicts
If you edit the same file in two places (say, CMS and local), you'll get a merge conflict when you pull. Here's how to resolve it:
- Obsidian Git will warn you about the conflict
- Open the conflicting file
- Look for markers like
<<<<<<<and>>>>>>> - Edit the file to keep the content you want
- Remove the conflict markers
- Commit and push
To avoid conflicts:
- Always pull before starting a session
- Don't edit the same file in two places simultaneously
- Use CMS for quick edits, local for deep work (not both at once)
Tips for Productive Local Editing
Use Split View
Open the lesson you're writing alongside related content. Obsidian lets you split the view horizontally or vertically.
Enable Live Preview
In Settings â Editor, enable "Live Preview" mode. You'll see formatted Markdown as you type, while still having full control over the source.
Create a Writing Ritual
Local editing works best with dedicated time. Set aside blocks for curriculum work:
- Morning: Review and edit existing lessons
- Afternoon: Draft new content
- Weekly: Review the graph, look for gaps
Back Up Your Work
Git is your backup, but commits only save when you push. Get in the habit of:
- Pushing at least daily
- Enabling auto-backup in Obsidian Git settings
- Occasionally verifying changes appear on GitHub
Troubleshooting Common Issues
"Authentication failed" when pushing
Cause: Your GitHub credentials are missing or expired.
Solution:
- Generate a new Personal Access Token
- On Mac: Open "Keychain Access" app, search for "github", delete old entries
- On Windows: Open "Credential Manager" (search in Start menu), find GitHub entries, remove them
- Try pushing againâyou'll be prompted for new credentials
"Repository not found" error
Cause: The repository URL is wrong, or you don't have access.
Solution:
- Check the URL matches your actual repository
- Make sure you forked the template (not just cloned it)
- Verify you're logged into the correct GitHub account
"Merge conflict" when pulling
Cause: You edited the same file in two places (like CMS and locally).
Solution:
- Open the conflicting file in Obsidian
- Look for lines starting with
<<<<<<<,=======, and>>>>>>> - These show both versionsâchoose which content to keep
- Delete the conflict markers entirely
- Save, commit, and push
Prevention: Always pull before starting a session.
Obsidian Git commands not appearing
Cause: Plugin isn't enabled or installed.
Solution:
- Go to Settings â Community plugins
- Make sure community plugins are turned on
- Check that "Obsidian Git" is both installed AND enabled
- Try restarting Obsidian
Changes not appearing on live site
Cause: Changes weren't pushed, or the build failed.
Solution:
- In Obsidian, run "Obsidian Git: Push" manually
- Go to your GitHub repository and check if your commit appears
- If the commit is there, check Netlify's deploy logs for build errors
- Common build errors: missing required fields, duplicate order numbers
Next Steps
Now you can edit content both through the CMS and locally. The next lesson covers the ongoing practice of iterationâhow to improve your curriculum over time based on feedback and your own evolving understanding.
Assignment
Complete the step-by-step setup below. Each step builds on the previous one. Allow about 30 minutes for the full setup.
What you'll need before starting:
- Your GitHub account (from earlier in this curriculum)
- Your repository URL (find it on your GitHub repository page)
- About 30 minutes of uninterrupted time
The detailed reference guide is available if you get stuck or want more context.
Why Edit Locally?
The web CMS is great for quick edits, but local editing shines for:
- Deep work: No internet distractions, faster interface
- Longer sessions: Better for writing substantial content
- Offline access: Edit anywhere, sync when connected
- Power features: Obsidian's graph view, backlinks, and plugins
Many curriculum authors use both: CMS for quick fixes, local editing for serious writing.
What is Git?
Git is version control software that tracks changes to files. Think of it like "Track Changes" in Word, but for your entire project.
Key terms:
- Repository (repo): Your project folder, tracked by Git
- Clone: Download a copy of a repository to your computer
- Commit: Save a snapshot of your changes with a description
- Push: Upload your commits to GitHub
- Pull: Download changes from GitHub to your computer
You don't need to master Gitâthe Obsidian Git plugin handles most of this automatically.
Obsidian as a Curriculum Editor
Obsidian is a free Markdown editor that treats a folder of files as a "vault." For curriculum editing, this means:
- Graph view: Visualize connections between lessons
- Quick switcher: Jump between files instantly (Cmd/Ctrl + O)
- Live preview: See formatted Markdown as you type
- Templates: Create lesson templates for consistency
It's like having a specialized editor built for your curriculum.
When would you choose local editing over the CMS?
Hint: Think about session length, internet access, and feature needs.
What does 'pull before you push' mean and why does it matter?
Hint: Consider what happens if someone else edited while you were working.
Obsidian Help Documentation
Official documentation for all Obsidian features.