Skip to content

Fix 'dotnet checkout' typos in docs/guides/HowToBranch.md - #25500

Merged
rolfbjarne merged 1 commit into
mainfrom
op-fix-howtobranch-dotnet-checkout-typo
May 22, 2026
Merged

rolfbjarne merged 1 commit into
mainfrom
op-fix-howtobranch-dotnet-checkout-typo

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

Summary

Lines 23-24 of docs/guides/HowToBranch.md incorrectly use dotnet checkout instead of git checkout. The dotnet CLI has no checkout subcommand, so anyone following the guide literally would get an error. Later commands in the same document correctly use git, confirming this was a typo.

Changes

  • Line 23: $ dotnet checkout net10.0 → $ git checkout net10.0
  • Line 24: $ dotnet checkout -b release/10.0.1xx-preview42 → $ git checkout -b release/10.0.1xx-preview42

Markdown-only change — no build or test impact.

Replace 'dotnet checkout' with 'git checkout' on lines 23-24.
The dotnet CLI has no checkout subcommand; this was a typo.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 22, 2026 06:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes a documentation typo in the branching guide where dotnet checkout was incorrectly used instead of git checkout, preventing readers from following the documented workflow.

Changes:

  • Replace dotnet checkout net10.0 with git checkout net10.0.
  • Replace dotnet checkout -b ... with git checkout -b ....

@rolfbjarne
rolfbjarne enabled auto-merge (squash) May 22, 2026 07:20
@rolfbjarne
rolfbjarne merged commit 97204e7 into main May 22, 2026
12 checks passed
@rolfbjarne
rolfbjarne deleted the op-fix-howtobranch-dotnet-checkout-typo branch May 22, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants