microsoft / microsoft/CmdPalGitHubExtension

PR checkout command: git vs gh

Open
#199 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-UX Issue-Task
Dominant language
C#
Stars
88
Forks
13
Avg merge
1h 1m
Merged PRs (30d)
1

Description

version: the old 0.0.5, not the one the mail was sent out for.

Checking out a PR from a fork requires the implicit setup that you've already created the remote for that fork

 
Case in point:

https://github.com/microsoft/PowerToys/pull/38103

The "copy checkout command" copies

git checkout htcfreek:PT_CPalExtImp

but I haven't created an htcfreek remote yet. Maybe we need to make sure to setup the remote and fetch it first? But then you do get into cmd vs pwsh vs bash syntax problems...

The GH CLI is simpler for this:

gh pr checkout 38103

but that implicitly requires that you've got the gh tool installed.

(I'm not recommending one thing or another, just that we need to figure it out)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the checkout-command behavior described in this issue and compare the copied git command with gh pr checkout 38103. Determine how fork remotes and cmd, pwsh, and bash syntax should be handled, including whether the gh dependency is acceptable; done means the project has an agreed, workable checkout flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, git, github
Domain
cli, developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.