本文へ移動
cccskills
無料GitHub で公開

pull

Pull latest origin/main into the current local branch and resolve merge conflicts (aka update-branch). Use when Codex needs to sync a feature branch with origin, perform a merge-based update, and resolve conflicts safely.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Pull

Workflow

  1. Verify the git status is clean or commit/stash changes before merging.
  2. Ensure rerere is enabled locally:
    • git config rerere.enabled true
    • git config rerere.autoupdate true
  3. Confirm remotes and branches:
    • Ensure the origin remote exists.
    • Ensure the current branch is the one to receive the merge.
  4. Fetch latest refs:
    • git fetch origin
  5. Sync the remote feature branch first:
    • git pull --ff-only origin $(git branch --show-current)
  6. Merge origin/main:
    • Prefer git -c merge.conflictstyle=zdiff3 merge origin/main
  7. If conflicts appear, resolve them, then stage the resolved files and complete the merge.
  8. Verify with project checks appropriate to the scope.
  9. Summarize the merge, including the main conflicts and how they were resolved.

Conflict guidance

  • Inspect context before editing with git status, git diff, and file-level diffs.
  • Decide the final behavior before editing conflict markers.
  • Prefer minimal, intention-preserving edits.
  • Resolve one file at a time and rerun checks after each logical batch.
  • For generated files, resolve source conflicts first and regenerate if needed.
  • After resolving, ensure no conflict markers remain with git diff --check.

Ask the user only when necessary

Ask only when the correct resolution depends on product intent that is not inferable from code, tests, or nearby documentation, or when the conflict would introduce irreversible risk without an obvious safe default.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

commit

無料

Create a well-formed git commit from current changes using session history for rationale and summary; use when asked to commit, prepare a commit message, or finalize staged work.

日本語の概要は準備中です。原文の説明を表示しています。

sushaantu/boxento1542026年10月8日 更新

land

無料

Land a PR by monitoring conflicts, resolving them, waiting for checks, and squash-merging when green; use when asked to land, merge, or shepherd a PR to completion.

日本語の概要は準備中です。原文の説明を表示しています。

sushaantu/boxento1542026年10月8日 更新

linear

無料

Use Symphony's `linear_graphql` client tool for raw Linear GraphQL operations such as comment editing and status updates.

日本語の概要は準備中です。原文の説明を表示しています。

sushaantu/boxento1542026年10月8日 更新

push

無料

Push current branch changes to origin and create or update the corresponding pull request; use when asked to push, publish updates, or create a pull request.

日本語の概要は準備中です。原文の説明を表示しています。

sushaantu/boxento1542026年10月8日 更新

sushaantu のスキルをすべて見る

このスキルの問題を報告する