refresh-master

Stash local changes, update the master branch, and reapply stashed changes.

Updated Jul 3, 2025
One-click install
npx skills add https://github.com/HiveSpaceTeam/hivespace.microservice --skill refresh-master
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refresh-master
Source: https://github.com/HiveSpaceTeam/hivespace.microservice/tree/main/.agent-source/skills/refresh-master
Command: npx skills add https://github.com/HiveSpaceTeam/hivespace.microservice --skill refresh-master

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the Git workflow by allowing users to stash their current changes, update the master branch, and reapply the stashed changes, all with a single command.

Core Features & Use Cases

  • Stash and Update: Preserve local changes, update the master branch with the latest code, and reapply the stashed changes.
  • User Trigger: Triggered by phrases like "refresh master" or "stash my changes and update master".
  • Use Case: Ideal for developers who need to synchronize their local repository with the master branch without losing their unsaved work.

Quick Start

Use the refresh-master skill to stash your changes and update the master branch by saying "refresh master".

Frequently Asked Questions about refresh-master

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

FAQPage Schema
How do I update the master branch with local changes without losing my work?

To update the master branch without losing local changes, you can automatically stash your current work, pull the latest master branch updates, and then reapply the stashed changes back onto the refreshed branch.

What is the best way to stash and pull the latest master branch in Git?

The best way to stash and pull the latest master branch is to automate the git workflow: stashing unsaved changes, checking out and updating master, and popping the stash to seamlessly synchronize your local repository.

When do I need to stash local changes before pulling master?

You need to stash local changes before pulling master when you have unsaved local work that conflicts with incoming updates, ensuring your edits are preserved safely while you synchronize with the latest master branch code.

Does this Git stash and update workflow require any special dependencies?

The Git stash and update workflow requires no special dependencies beyond a standard Git installation capable of performing stashing, checking out branches, and pulling updates to sync your local repository.

What happens if my stashed changes conflict after updating the master branch?

When reapplying stashed changes after updating the master branch, Git uses its standard stash pop mechanism, meaning any merge conflicts will need to be resolved manually using your local Git workflow before the changes are fully integrated.