Loading...
Loading...
Quick remote sync shortcut. Use when user says "/sync", "동기화", "pull", "git pull", or wants to pull latest changes from remote. Defaults to pulling from origin main.
npx skill4agent add october-academy/agent-plugins sync/sync # Pull from origin main
/sync develop # Pull from origin develop
/sync upstream # Pull from upstream main (forks)git statusgit stashgit stash pop/cpgit checkout .git pull origin maingit pull --rebase origin mainSynced with origin/main
- 3 commits pulled
- Files changed: 5
- No conflictsgit add <files>git commit# Add upstream if not exists
git remote add upstream <original-repo-url>
# Sync with upstream
git fetch upstream
git merge upstream/main# Option 1: Merge (default)
git pull origin main
# Option 2: Rebase (cleaner)
git pull --rebase origin main
# Option 3: Reset (destructive, ask user)
git fetch origin
git reset --hard origin/main| Error | Solution |
|---|---|
| "Uncommitted changes" | Stash or commit first |
| "Merge conflict" | Help resolve conflicts |
| "Remote not found" | Check |