Skip to main content

sync-upstream

Update a stale session branch by rebasing onto the latest origin. Use when the upstream has moved significantly and the session needs to catch up, resolving conflicts by preserving upstream changes and adapting session work to fit.

소스 정보

저장소
microsoft/vscode
최근 소스 활동
2026년 3월 28일 07:02
감지된 SKILL.md 언어
영어
스타
194,403
포크
44,904

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
sync-upstream
description
Update a stale session branch by rebasing onto the latest origin. Use when the upstream has moved significantly and the session needs to catch up, resolving conflicts by preserving upstream changes and adapting session work to fit.
<!-- Customize this skill and select save to override its behavior. Delete that copy to restore the built-in behavior. --> # Update Branch Rebase the current session branch onto the latest upstream so the work stays grounded in origin. ## Workflow 1. If there are uncommitted changes, use the `/commit` skill to commit them first. 2. Fetch the latest upstream and rebase onto it: ``` git fetch origin git rebase origin/main ``` Use the appropriate base branch if it is not `main`. ## Conflict Resolution When conflicts arise, **upstream always wins**: - **Never alter upstream logic, APIs, or patterns** to accommodate session changes. - **Adapt session work** to fit the new upstream — rename, restructure, or rewrite as needed while preserving the session's goals. - After resolving each conflict, `git add` the files and `git rebase --continue`. ## Validation After the rebase completes, verify the result still compiles and meets the session's objectives. If session changes no longer make sense against the updated upstream, explain what changed and propose a revised approach.
GitHub에서 보기