使用Git和GitHub入门比使用GitHub Desktop 2.2更加容易
Anyone who uses Git knows that it has a steep learning curve. We’ve learned from developers that most people tend to learn from a buddy, whether that’s a coworker, a professor, a friend, or even a YouTube video. In GitHub Desktop 2.2, we’re releasing the first version of an interactive Git and GitHub tutorial that can be your buddy and help you get started. If you’re new to Desktop, you can download and try out the tutorial at
使用Git的任何人都知道它的学习曲线很陡。 我们从开发人员那里了解到,无论是同事,教授,朋友,还是YouTube视频,大多数人倾向于向好友学习。 在GitHub Desktop 2.2中,我们发布了交互式Git和GitHub教程的第一个版本,可以成为您的伙伴并帮助您入门。 如果您不熟悉Desktop,可以在desktop.github.com.desktop.github.com上下载并试用该教程。 This article in our blog.本文在我们的博客中。
设置好 (Get set up)
To get set up, we help you through two major pieces: creating a repository and connecting an editor. When you first open Desktop, a welcome page appears with a new option to «Create a Tutorial Repository». Starting with this option creates a tutorial repository that guides you through the core concepts of working with Git using GitHub Desktop.
要进行设置,我们将通过两个主要步骤为您提供帮助:创建存储库和连接编辑器。 首次打开桌面时,会出现一个欢迎页面,其中带有一个新选项“创建教程资料库”。 从该选项开始,将创建一个教程存储库,该存储库将指导您完成使用GitHub Desktop使用Git的核心概念。
There are a lot of tools you need to get started with Git and GitHub. The most important of these is your code editor. In the first step of the tutorial, you’re prompted to install an editor if you don’t have one already.
Git和GitHub入门需要很多工具。 其中最重要的是您的代码编辑器。 在本教程的第一步中,如果尚未安装编辑器,则会提示您安装编辑器。
了解GitHub流程 (Learn the GitHub flow)
Next, we guide you through how to use GitHub Desktop to make changes to code locally and get your work on GitHub. You’ll create a new branch, make a change to a file, commit it, push it to GitHub, and open your first pull request.
接下来,我们指导您如何使用GitHub Desktop在本地更改代码并在GitHub上进行工作。 您将创建一个新分支,对文件进行更改,提交,将其推送到GitHub,然后打开您的第一个拉取请求。
We’ve also heard that new users initially experience confusion between Git, GitHub, and GitHub Desktop. We cover these differences in the tutorial and make sure to reinforce the explanations.
我们还听说,新用户最初会在Git,GitHub和GitHub Desktop之间感到困惑。 我们在本教程中介绍了这些差异,并确保加强说明。
继续进行自己的项目 (Keep going with your own project)
In GitHub Desktop 1.6, we introduced
在GitHub Desktop 1.6中,我们根据存储库的状态介绍了suggested next steps based on the state of your repository. Now when you complete the tutorial, we similarly suggest next steps: exploring projects on GitHub that you might want to contribute to, creating a new project, or adding an existing project to Desktop. We always want GitHub Desktop to be the tool that makes your next steps clear, whether you’re in the flow of your work, or you’re a new developer just getting started.建议的后续步骤 。 现在,当您完成本教程时,我们类似地建议您执行以下步骤:在GitHub上浏览您可能想贡献的项目,创建一个新项目,或将现有项目添加到Desktop。 无论您是在工作中还是刚开始的新开发人员,我们始终希望GitHub Desktop是使您的下一步工作变得清晰的工具。
下一步是什么? (What’s next?)
With GitHub Desktop 2.2, we’re making the product our users love more approachable to newcomers. We’ll be iterating on the tutorial based on your feedback, and we’ll continue to build on the connection between GitHub and your local machine. If you want to start building something but don’t know how, think of GitHub Desktop as your buddy to help you get started.
借助GitHub Desktop 2.2,我们使用户喜欢的产品对于新手来说更加平易近人。 我们将根据您的反馈意见对本教程进行迭代,并继续在GitHub和您的本地计算机之间建立连接。 如果您想开始构建某些东西,但不知道如何做,请考虑将GitHub Desktop作为您的好友,以帮助您入门。 Learn more about GitHub Desktop了解有关GitHub桌面的更多信息