Skip to main content

repository-setup

Guide for setting up repository remotes when working with forks

ソース情報

リポジトリ
spiriMirror/libuipc
ソースの最終更新活動
2026年3月6日 07:13
検出された SKILL.md の言語
英語
スター
338
フォーク
70

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
repository-setup
description
Guide for setting up repository remotes when working with forks
# Repository Setup for Forks When working with a forked repository, GitHub CLI (`gh`) commands may fail to find issues and PRs because they default to the fork's repository instead of the upstream repository. ## Setup Add the upstream repository as a remote (you can name it anything, `upstream` is conventional): ```bash git remote add upstream https://github.com/spiriMirror/libuipc ``` ## How Commands Work All Cursor commands use `--repo spiriMirror/libuipc` to reference the upstream repository, ensuring they work correctly in: - The upstream repository - A forked repository - A repository with custom remote names This ensures issues and PRs are always referenced from the upstream repository where they actually exist.
GitHubで見る