microsoft / microsoft/CmdPalGitHubExtension
PR checkout command: git vs gh
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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