sync-push

Sync blog edits between Obsidian and Website repositories with identical commit messages.

Updated Sep 1, 2025
One-click install
npx skills add https://github.com/mathur-exe/annotation-notes --skill sync-push
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sync-push
Source: https://github.com/mathur-exe/annotation-notes/tree/main/PaperNotes/dotfiles/codex/skills/sync-push
Command: npx skills add https://github.com/mathur-exe/annotation-notes --skill sync-push

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps blog edits in Obsidian and Website repositories in sync by applying the same commit message to both, reducing drift and manual reconciliation.

Core Features & Use Cases

  • Cross-repo change detection and staging for blog posts
  • Dual-repo commits with a single, unified message
  • Safe handling of uncommitted changes, conflicts, and push failures
  • Automatic push of both repositories after successful commits

Quick Start

Initiate the sync-push workflow from the Obsidian repo root to synchronize blog edits with the Website repo using a single commit message.

Frequently Asked Questions about sync-push

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep my Obsidian blog and website repository in sync?

You can keep your Obsidian blog and website repository in sync by applying identical commit messages to both. This process detects cross-repo changes, stages blog posts, and safely pushes both repositories after successful commits.

What happens to uncommitted changes when syncing Obsidian and website repos?

When syncing Obsidian and website repos, uncommitted changes are handled safely to prevent data loss. The workflow detects existing changes, stages them appropriately, and pauses if safety checks identify potential conflicts or inconsistencies.

How does the dual-repo commit workflow handle merge conflicts?

The dual-repo commit workflow handles merge conflicts by enforcing deterministic safety checks before pushing. If conflicts are detected during the synchronization process, the operation halts to prevent inconsistencies and avoid overwriting uncommitted changes.

Can I use a single commit message for multiple Git repositories?

Yes, you can use a single commit message for multiple Git repositories. This workflow applies a unified commit message format to both the Obsidian and Website repositories, ensuring commit history alignment and reducing manual reconciliation.

Why do my Obsidian and website blog edits keep drifting out of sync?

Obsidian and website blog edits drift out of sync when changes are committed independently without matching messages. Synchronizing both repositories with a single, unified commit message reduces this drift and maintains consistent blog post histories.

What's the best way to automate pushing blog edits to two Git repos?

The best way to push blog edits to two Git repos is to use a deterministic workflow that applies a single commit message to both. This method stages cross-repo changes, verifies safety checks, and automatically pushes both repositories after successful commits.