0

I am new on using Pull Request and wandering why there are some 'Merged' pull requests stay open in the list of Git extension of VS code.

For example as screenshot below, there are two requests, one is mine and the another was assigned to me, that both have been resolved and merged for a while, but still visible and show in the status bar.

enter image description here enter image description here

The screenshot below is how the request shows on Github. There's no action buttons, so I can only let it be.

enter image description here

I'm eager to know how to remove them before requests increasing. Could someone show me how to do it please?

starball
  • 20,030
  • 7
  • 43
  • 238
Anne Wu
  • 48
  • 11

1 Answers1

1

I also faced this issue, so I'd like to share the solution.

To open settings.json directly:

"githubPullRequests.useReviewMode": {
  "merged": false,
  "closed": false
},

To open from the GUI:

  1. Open Settings
  2. Search @ext:GitHub.vscode-pull-request-github Use Review Mode
  3. Disable two options.

By doing this, closed and merged pull requests should no longer be displayed in the status bar.

sev3e3e
  • 26
  • 4