{"id":19263047,"url":"https://github.com/datawhalechina/faster-git","last_synced_at":"2025-04-09T20:09:09.304Z","repository":{"id":39635535,"uuid":"486091530","full_name":"datawhalechina/faster-git","owner":"datawhalechina","description":"a chinese tutorial of git","archived":false,"fork":false,"pushed_at":"2024-04-12T02:23:18.000Z","size":19657,"stargazers_count":151,"open_issues_count":9,"forks_count":57,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-09T20:09:00.736Z","etag":null,"topics":["git","github"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datawhalechina.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-27T07:32:53.000Z","updated_at":"2025-04-01T08:21:26.000Z","dependencies_parsed_at":"2024-11-09T19:45:18.492Z","dependency_job_id":null,"html_url":"https://github.com/datawhalechina/faster-git","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawhalechina%2Ffaster-git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawhalechina%2Ffaster-git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawhalechina%2Ffaster-git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawhalechina%2Ffaster-git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datawhalechina","download_url":"https://codeload.github.com/datawhalechina/faster-git/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103872,"owners_count":21048245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","github"],"created_at":"2024-11-09T19:34:44.358Z","updated_at":"2025-04-09T20:09:09.268Z","avatar_url":"https://github.com/datawhalechina.png","language":null,"readme":"# faster-git\n\n课程内容：\n\n1. [第一章 Git简介](lecture01/README.md)\n1. [第二章 Git基础命令](lecture02/README.md)\n1. [第三章 Git分支管理](lecture03/README.md)\n1. [第四章 Git工具](lecture04/README.md)\n1. [第五章 Git内部原理](lecture05/README.md)\n1. [第六章 GitFlow工作流实战](lecture06/README.md)\n1. [第七章 Git提交规范](lecture07/README.md)\n1. [第八章 Github/Gitee使用说明](lecture08/README.md)\n1. [第九章 Git可视化工具下载](lecture09/README.md)\n1. [第十章 Git团队协作以及合并时的diff工具](lecture10/README.md)\n\n课程安排：\n| 任务信息                                                    |\n|-------------------------------------------------------------|\n| Task01：Git基础：第一、二章（2天）                          |\n| Task02：Git分支管理及工具使用：第三、四章（2天）            |\n| Task03：Git内部原理及工作流实战：第五、六章（3天）          |\n| Task04：Git提交规范及Github/Gitee的使用：第七、八章（3天）  |\n| Task05：Git可视化工具下载和团队协作：第九、十章（3天）      |\n\n课程贡献人员：（排名不分先后，按章节顺序排序）\n| 成员\u0026nbsp; | 个人简介                                            | 负责章节|\n| --------------- | --------------------------------------------------- |-------|\n|   牛志康   | Datawhale成员，西安电子科技大学本科生 | lecture01，lecture03|\n|朱松青| Datawhale成员，上海交通大学研究生|lecture02|\n|徐祥军|在职，互联网金融、后端开发|lecture04|\n|李碧涵|Datawhale成员，在职|lecture05|\n|   宋泽山   | Datawhale成员，算法开发 | lecture06|\n|王晓亮|Datawhale成员，在职|lecture07|\n|张翔宇|华东师范大学研究生|lecture08|\n|    沈豪    | Datawhale成员，复旦大学网安博士在读 |lecture09|\n|   夏峻   | Datawhale成员，上海交通大学研究生  |lecture10|\n\n# Contributing\n\n主分支为`main`\n## Workflow\n\n关于本项目中出现的问题或者其他补充材料，我们鼓励大家提出pr和issue，我们将在短时间内进行解答。本项目使用`Forking`工作流，具体参考[atlassian文档](https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow)\n\n大致步骤如下：\n\n1. 在GitHub上Fork本仓库\n1. Clone Fork后的个人仓库\n1. 设置`upstream`仓库地址，并禁用`push`\n1. 使用分支开发，课程分支名为`lecture{#NO}`，`#NO`保持两位，如`lecture07`，对应课程目录\n1. PR之前保持与原始仓库的同步，之后发起PR请求\n\n命令示例：\n\n```shell\n# fork\n# clone\ngit clone git@github.com:USERNAME/faster-git.git\n\n# set upstream\ngit remote add upstream git@github.com:datawhalechina/faster-git.git\n# disable upstream push\ngit remote set-url --push upstream DISABLE\n# verify\ngit remote -v\n# some sample output:\n# origin\tgit@github.com:tomowang/faster-git.git (fetch)\n# origin\tgit@github.com:tomowang/faster-git.git (push)\n# upstream\tgit@github.com:datawhalechina/faster-git.git (fetch)\n# upstream\tDISABLE (push)\n\n# do your work\ngit checkout -b lecture07\n# edit and commit and push your changes\ngit push -u origin lecture07\n\n# keep your fork up to date\n## fetch upstream main and merge with forked main branch\ngit fetch upstream\ngit checkout main\ngit merge upstream/main\n## rebase brach and force push\ngit checkout lecture07\ngit rebase main\ngit push -f\n```\n\n## Commit Message\n\n提交信息使用如下格式：`\u003ctype\u003e: \u003cshort summary\u003e`\n\n```\n\u003ctype\u003e: \u003cshort summary\u003e\n  │            │\n  │            └─⫸ Summary in present tense. Not capitalized. No period at the end.\n  │\n  └─⫸ Commit Type: lecture{#NO}|others\n```\n\n`others`包括非课程相关的改动，如本`README.md`中的变动，`.gitignore`的调整等。\n\n## 关注我们\n\u003cdiv align=center\u003e\u003cimg src=\"https://raw.githubusercontent.com/datawhalechina/easy-rl/master/docs/res/qrcode.jpeg\" width = \"250\" height = \"270\" alt=\"Datawhale是一个专注AI领域的开源组织，以“for the learner，和学习者一起成长”为愿景，构建对学习者最有价值的开源学习社区。关注我们，一起学习成长。\"\u003e\u003c/div\u003e\n\n## LICENSE\n\u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc-sa/4.0/\"\u003e\u003cimg alt=\"知识共享许可协议\" style=\"border-width:0\" src=\"https://img.shields.io/badge/license-CC%20BY--NC--SA%204.0-lightgrey\" /\u003e\u003c/a\u003e\u003cbr /\u003e本作品采用\u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc-sa/4.0/\"\u003e知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议\u003c/a\u003e进行许可。\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatawhalechina%2Ffaster-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatawhalechina%2Ffaster-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatawhalechina%2Ffaster-git/lists"}