julien-infra-git-vps-sync

Synchronize VPS and GitHub repositories by resolving Git deployment drift.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/theflysurfer/claude-skills-marketplace --skill julien-infra-git-vps-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: julien-infra-git-vps-sync
Source: https://github.com/theflysurfer/claude-skills-marketplace/tree/main/skills/julien-infra-git-vps-sync
Command: npx skills add https://github.com/theflysurfer/claude-skills-marketplace --skill julien-infra-git-vps-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates Git synchronization between a VPS and GitHub, handling edge cases like unrelated histories, untracked files, and diverged branches.

Core Features & Use Cases

  • Edge-case handling: unrelated histories, untracked files, and conflicts
  • VPS-first workflows: safe backups and push/pull flows
  • Guardrails: safety prompts before destructive actions

Quick Start

Trigger sync via SSH to the VPS and run git pull/push commands as described in the workflow.

Frequently Asked Questions about julien-infra-git-vps-sync

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

FAQPage Schema
How do I fix git pull errors on a VPS when histories don't match?

Git sync resolves unrelated histories between VPS and GitHub repositories by fetching origin and applying rebase or merge strategies, aligning diverged branches so pull succeeds without conflicts.

Can I automate deployment sync between GitHub and Hostinger VPS?

Yes. This automates Git synchronization on Hostinger VPS by cleaning untracked files, fetching updates, handling branch divergence, and resetting to origin/main with safety prompts before destructive actions.

What should I do if untracked files block git operations on my VPS?

The sync workflow cleans untracked files as part of pre-deployment alignment, removing blockers so git pull and push commands execute cleanly without manual intervention.

How do I resolve diverged branches between VPS and GitHub repositories?

The Skill detects diverged branches and offers rebase or merge options to reconcile VPS and GitHub states, then resets to origin/main to ensure deployment consistency.

Do I need manual steps to sync a VPS repository with GitHub?

No. Trigger sync via SSH and run git pull/push as described; the workflow handles unrelated histories, conflicts, and edge cases automatically with confirmation prompts for safety.

What happens when git merge fails between VPS and GitHub?

The Skill applies merge or rebase strategies to resolve conflicts and realign repositories, with guardrails that confirm destructive actions before proceeding.