复制练习后需等约 20 秒让 Mona 准备第一课,过早刷新会看不到内容;建议建公开仓库,私有仓库会消耗 Actions 分钟数;20 秒后仍无内容要去 Actions 标签页看任务是否在运行或失败
复制练习模板到自己的账号:https://github.com/new?template_owner=skills&template_name=introduction-to-github&owner=%40me&name=skills-introduction-to-github&description=Exercise:+Introduction+to+GitHub&visibility=public,等待约 20 秒后刷新页面README 未说明,练习在 GitHub 网页与 Actions 上完成,无需本地硬件
GitHub 官方一小时入门练习,带你走完分支、提交、PR 全流程
GitHub 官方入门课程,一小时内带你掌握分支、提交和拉取请求等核心操作,适合零基础快速上手协作开发。
核心能力
- 用 GitHub Skills 交互式练习引导上手
- 覆盖仓库、分支、提交、拉取请求四个概念
- 动手创建分支并提交一个 Markdown 文件
- 打开并合并自己的第一个拉取请求
- 产出可直接用作个人主页的 profile README
容易踩的坑
暂无 release 数据(可能没有发版,或尚未同步)。
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Introduction to GitHub
Get started using GitHub in less than an hour.
Welcome
People use GitHub to build some of the most advanced technologies in the world. Whether you’re visualizing data or building a new game, there’s a whole community and set of tools on GitHub that can help you do it even better. GitHub Skills’ “Introduction to GitHub” exercise guides you through everything you need to start contributing in less than an hour.
- Who is this for: New developers, new GitHub users, and students.
- What you'll learn: We'll introduce repositories, branches, commits, and pull requests.
- What you'll build: We'll make a short Markdown file you can use as your profile README.
- Prerequisites: None. This exercise is a great introduction for your first day on GitHub.
- How long: This exercise takes less than one hour to complete.
In this exercise, you will:
- Create a branch
- Commit a file
- Open a pull request
- Merge your pull request
How to start this exercise
Simply copy the exercise to your account, then give your favorite Octocat (Mona) about 20 seconds to prepare the first lesson, then refresh the page.
When copying the exercise, we recommend the following settings:
-
For owner, choose your personal account or an organization to host the repository.
-
We recommend creating a public repository, since private repositories will use Actions minutes.
If the exercise isn't ready in 20 seconds, please check the Actions tab.
-
Check to see if a job is running. Sometimes it simply takes a bit longer.
-
If the page shows a failed job, please submit an issue. Nice, you found a bug! 🐛
© 2026 GitHub • Code of Conduct • MIT License