Get started using GitHub in less than an hour.
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
-
Right-click Copy Exercise and open the link in a new tab.
-
In the new tab, most of the prompts will automatically fill in for you.
- For owner, choose your personal account or an organization to host the repository.
- We recommend creating a public repository, as private repositories will use Actions minutes.
- Scroll down and click the Create repository button at the bottom of the form.
-
After your new repository is created, wait about 20 seconds for the exercise to be prepared and buttons updated. You will continue working from your copy of the exercise.
- The Copy Exercise button will deactivate, changing to gray.
- The Start Exercise button will activate, changing to green.
- You will likely need to refresh the page.
-
Click Start Exercise. Follow the step-by-step instructions and feedback will be provided as you progress.
Important
The Start Exercise button will activate after copying the repository. You will probably need to refresh the page.
© 2025 GitHub • Code of Conduct • MIT License
_Get 在不到 hour._的时间里开始使用 GitHub
人们使用 GitHub 来构建世界上一些最先进的技术。无论您是可视化数据还是构建新游戏,GitHub 上都有完整的社区和工具集可以帮助您做得更好。GitHub Skills 的“GitHub 简介”练习将指导您在不到一小时内完成开始贡献所需的一切。
- 这适用于谁:新开发人员、新 GitHub 用户和学生。
- 您将学到什么:我们将介绍仓库、分支、提交和拉取请求。
- 您将构建什么:我们将制作一个简短的 Markdown 文件,您可以将其用作 [个人资料 README](https://docs.github.com/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/managing-your-profile-readme)。
- 先决条件:无。本练习是您第一天使用 GitHub 的精彩入门。
- 多长时间:完成此练习的时间不到 1 小时。
在本练习中,您将:
- 创建分支
- 提交文件
- 打开拉取请求
- 合并您的拉取请求
- 右键单击 Copy Exercise(复制练习)并打开新选项卡中的链接。
- 在新选项卡中,大多数提示会自动为您填写。
- 对于 owner(所有者),选择您的个人账户或托管仓库的组织。
- 我们建议创建公共仓库,因为私有仓库将 [使用 Actions 分钟](https://docs.github.chttps://github.com/garyconan1224/effective-carnival/billing/managing-billing-for-github-actions/about-billing-for-github-actions)。
- 向下滚动并单击表单底部的 Create repository 按钮。
- 创建新存储库后,等待大约 20 秒,以便准备练习并更新按钮。您将继续从练习副本开始工作。
- 复制锻炼按钮将停用,变为灰色。
- 开始锻炼按钮将激活,并变为绿色。
- 您可能需要刷新页面。
- 单击 Start Exercise(开始练习)。按照分步说明进行作,我们将随着您的进度提供反馈。
[!重要] 复制存储库后,开始练习按钮将激活。您可能需要刷新页面。
© 2025 GitHub • [行为准则](https:www.contributor-covenant.org/version/2/1/code_of_conduct/code_of_conduct.md) • [MIT 许可证](https:gh.io/mit)