microsoft / microsoft/vscode-pull-request-github

Closed PRs get associated with new branches of the same name

オープン
#6,711 コメント 3 件 リアクション 1 件 担当者 1 名 GitHub で見る

@alexr00 がすでに取り組んでいます。

2025年5月7日 から。

bug
主要言語
TypeScript
スター
2.6k
フォーク
795
平均マージ
1日 4時間
マージ済み PR(30日)
46

説明

Sometimes, when I create a branch, I will find it becomes associated with a wrong PR that was previously closed and used the same branch name.

This can mean if you run the "delete local branches and remotes" command it will wrongly delete your branch.

  • Extension version: 0.106.0
  • VSCode Version: 1.98.0 (system setup)
  • OS: Windows_NT x64 10.0.22631
  • Repository Clone Configuration: fork of an upstream repository
  • Github Product: Github.com

Steps to Reproduce:

Unknown. Note in .git/config you might see something like:

[branch "dev"]   # this branch was created a few days ago
	remote = origin
	merge = refs/heads/dev
	vscode-merge-base = origin/dev
	github-pr-owner-number = "cylc#cylc-ui#810"
	github-pr-owner-number = "cylc#cylc-ui#810"
	github-pr-owner-number = "cylc#cylc-ui#810"
	github-pr-owner-number = "cylc#cylc-ui#810"
	github-pr-owner-number = "cylc#cylc-ui#810"    # this is a PR that was closed 4 years ago!

or

[branch "log-wrap"]
	vscode-merge-base = origin/master
	remote = origin
	github-pr-owner-number = "cylc#cylc-ui#1708"
	github-pr-owner-number = "cylc#cylc-ui#1708"
	github-pr-owner-number = "cylc#cylc-ui#1708"
	github-pr-owner-number = "cylc#cylc-ui#1708"
	github-pr-owner-number = "cylc#cylc-ui#2078"   # finally the correct one!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。