obsidian-git-repo-sync
Installation
SKILL.md
Obsidian Git Repo Sync
Overview
Initialize a local directory as a git repository and push all contents to a specified GitHub remote. The skill guides the process step by step, starting with an environment check and then collecting the remote URL from the user.
Workflow
Step 1: Check Git Installation
Check whether git is installed on the system by running:
git --version
- If the command succeeds → proceed to Step 2.
- If the command fails (git not found) → tell the user: "Git is not installed on this machine. Please install Git first from https://git-scm.com/ or use your system package manager (e.g.,
brew install giton macOS). Once installed, let me know and I'll continue." Stop here and wait for the user.