Repository navigation
Fix 'dotnet checkout' typos in docs/guides/HowToBranch.md - #25500
Merged
Merged
Conversation
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>
Contributor
There was a problem hiding this comment.
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.0withgit checkout net10.0. - Replace
dotnet checkout -b ...withgit checkout -b ....
rolfbjarne
enabled auto-merge (squash)
May 22, 2026 07:20
dalexsoto
approved these changes
May 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Lines 23-24 of
docs/guides/HowToBranch.mdincorrectly usedotnet checkoutinstead ofgit checkout. ThedotnetCLI has nocheckoutsubcommand, so anyone following the guide literally would get an error. Later commands in the same document correctly usegit, confirming this was a typo.Changes
$ dotnet checkout net10.0→$ git checkout net10.0$ dotnet checkout -b release/10.0.1xx-preview42→$ git checkout -b release/10.0.1xx-preview42Markdown-only change — no build or test impact.