git-sync-workflow

Resolve merge conflicts and streamline git sync with rebasing and hooks.

2|1|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/sraloff/gravityboots --skill git-sync-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-sync-workflow
Source: https://github.com/sraloff/gravityboots/tree/main/.agent/skills/git-sync-workflow
Command: npx skills add https://github.com/sraloff/gravityboots --skill git-sync-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Resolve merge conflicts and streamline git sync with best-practice rebasing and hooks.

Core Features & Use Cases

  • Pull Before Push with rebase to keep history linear.
  • Safe pushing with upstream tracking and --force-with-lease when necessary.
  • Hook recommendations: pre-commit and pre-push to speed up CI.

Quick Start

Run git-sync-workflow to apply the described best practices in daily development.

Frequently Asked Questions about git-sync-workflow

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

FAQPage Schema
How do I configure git hooks to speed up CI feedback?

Configuring git hooks like pre-commit and pre-push speeds up CI by validating changes locally before they reach the remote server. This skill applies these hook recommendations to establish guardrails around hook execution and prevent broken builds.

What's the best way to keep git history linear during team collaboration?

Keeping git history linear during team collaboration is best achieved by pulling with rebase before pushing. This skill enforces pull before push with rebase to maintain a streamlined history and predictable merges across typical workflows.

How do I safely force push to a remote branch with upstream tracking?

Safely force pushing to a remote branch with upstream tracking requires using --force-with-lease to prevent overwriting remote changes. This skill implements safe pushing with upstream tracking and applies --force-with-lease when necessary.

When should I use rebasing instead of merging in my git workflow?

Use rebasing instead of merging in your git workflow when you need to resolve merge conflicts and maintain a streamlined, linear history. This skill applies best-practice rebasing to enforce safe history and predictable merges during daily syncs.

Can I use this git workflow without any external dependencies?

You can use this git workflow without external dependencies because it operates with an empty dependency list. It applies best practices for pulling with rebase, pushing with upstream tracking, and configuring hooks directly within your environment.

Why does git force push fail without upstream tracking?

Git force push fails without upstream tracking because the remote branch relationship is undefined, making safe overwrites impossible. This skill mitigates this by enforcing safe pushing with upstream tracking and applying --force-with-lease when necessary.