Skip to content

docs: use git switch instead of git checkout in zero3 buildroot guide#1551

Open
tangzz-radxa wants to merge 1 commit intoradxa-docs:mainfrom
tangzz-radxa:support/zero3-buildroot-git-switch-1550
Open

docs: use git switch instead of git checkout in zero3 buildroot guide#1551
tangzz-radxa wants to merge 1 commit intoradxa-docs:mainfrom
tangzz-radxa:support/zero3-buildroot-git-switch-1550

Conversation

@tangzz-radxa
Copy link
Copy Markdown
Contributor

来源

GitHub issue #1550 - 用户反馈 Zero 3E Buildroot 文档中应使用 git switch 而非 git checkout 切换分支。

改动内容

  • git checkout -b <branch> remotes/radxa/<branch> 替换为 git switch -c <branch> radxa/<branch>
  • 添加编译警告:不要使用 root 用户进行编译
  • 修正英文版中的拼写错误:reposiory → repository

改动范围

  • docs/zero/zero3/other-os/buildroot.md(中文)
  • i18n/en/docusaurus-plugin-content-docs/current/zero/zero3/other-os/buildroot.md(英文)

验证方式

对比修改前后的 git diff,确认两处 git checkout -b 均已替换为 git switch -c,且中文和英文版本均已同步更新。

Fixes #1550

Replace 'git checkout -b' with 'git switch -c' for branch switching in
the Zero 3E Buildroot guide, as suggested in GitHub issue radxa-docs#1550.
Also add a note warning against compiling as root user.

Fixes radxa-docs#1550
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue from zero/zero3/other-os/buildroot

1 participant