1
0
Fork 0

[Docs] zh-cn document translate: git parts (#15576)

Co-authored-by: peepeetee <43021794+peepeetee@users.noreply.github.com>
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
This commit is contained in:
IskandarMa 2022-04-22 15:37:29 +08:00 committed by GitHub
parent ba8b236727
commit 83ce70c821
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 264 additions and 0 deletions

View file

@ -0,0 +1,23 @@
# QMK所采用的Git最佳实践
<!---
original document: 0.15.17:docs/newbs_git_best_practices.md
git diff 0.15.17 HEAD -- docs/newbs_git_best_practices.md | cat
-->
*译者注对于git相关的部分除广为接受的名词外会尽量保留git命令及各种术语的英文版本部分名词及关键部分会附带中文翻译*
## 或者讲,"怎么才能不害怕并喜欢上Git"
本节旨在以最佳方式指导新手在为QMK做贡献时获得流畅的体验。我们将进行一次完整的QMK贡献操作流程并在部分环节中详细讲述几种便捷的方法之后我们会故意搞砸一些东西并教导你如何回到正轨。
该章节做了如下假设:
1. 你已有Github账号且已[fork了qmk_firmware仓库](zh-cn/getting_started_github.md)到你的账号下。
2. 已完成了[构建环境](zh-cn/newbs_getting_started.md#set-up-your-environment)及[QMK](zh-cn/newbs_getting_started.md#set-up-qmk)配置。
---
- 第一节:[在你Fork的主干上频繁更新不要提交](zh-cn/newbs_git_using_your_master_branch.md)
- 第二节:[解决合并冲突](zh-cn/newbs_git_resolving_merge_conflicts.md)
- 第三节:[重新同步一个脱离同步状态的Git分支](zh-cn/newbs_git_resynchronize_a_branch.md)