Skip to main content

pull-main

Switch to main branch and pull latest changes with prune. Use when the user wants to pull latest main, update main, or sync main with remote.

소스 정보

저장소
dyoshikawa/rulesync
최근 소스 활동
2026년 7월 22일 05:39
감지된 SKILL.md 언어
영어
스타
1,592
포크
171

설치 방법

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

소스 파일 검토

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

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
pull-main
description
Switch to main branch and pull latest changes with prune. Use when the user wants to pull latest main, update main, or sync main with remote.
targets
["*"]
# Pull Main Switch to the `main` branch and pull the latest changes from `origin/main` while pruning stale remote-tracking references. ## Step 1: Inspect Current State Check the current branch: ```bash git branch --show-current ``` If already on `main`, note it for the final report. ## Step 2: Switch to Main Switch to the `main` branch: ```bash git switch main ``` ## Step 3: Pull with Prune Pull the latest changes from `origin/main` with `--prune` to remove stale remote-tracking branches: ```bash git pull --prune ``` ## Step 4: Report Result Summarize the operation: - Whether a branch switch occurred - Number of commits pulled (fast-forward or merge) - Any stale remote-tracking branches that were pruned
GitHub에서 보기