github 拉取_如何使用Github Desktop Client发送拉取请求

github 拉取

In one of my previous posts, I outlined the process of contributing to open source software with a detailed account of each step.

在我以前的一篇文章中 ,我概述了对开源软件的贡献过程,并详细介绍了每个步骤。

One of those steps was sending a pull request to the owner of the repository you forked from.

这些步骤之一是向您从中派生的存储库所有者发送拉取请求。

I showed you how to send a pull request using Github's web interface.

我向您展示了如何使用Github的Web界面发送拉取请求。

In this quick tip, you will be learning to send a pull request but this time, using the Github desktop application.

在此快速提示中,您将学习如何使用Github桌面应用程序发送拉取请求,但这一次。

安装Github桌面客户端 ( Installing the Github Desktop Client )

A quick word on installing Github desktop application.

快速安装Github桌面应用程序。

Once you have downloaded the appropriate setup for your operating system, it should be pretty straight forward to execute and go through it.

一旦下载了适合您的操作系统的设置,就可以很直接地执行和浏览它。

If you have already configured the Git command line interface, the desktop application will automatically pick your Git configuration.

如果您已经配置了Git命令行界面,则桌面应用程序将自动选择您的Git配置。

If you have not done so, you may have to go through that step first.

如果您尚未这样做,则可能必须先执行该步骤。

发送拉取请求 ( Sending the Pull Request )

Fire up your Github desktop application.

启动您的Github桌面应用程序。

From the menu, click File > Add Local Repository.

从菜单中,单击文件>添加本地存储库

File > Add Local Repository Menu

Browse to the location of the repository you wish to add, select it's directory and click the Add button.

浏览到要添加的存储库的位置,选择目录,然后单击“ 添加”按钮。

Add a Repository

You should now be able to see your repository in the repository list on the left.

现在,您应该能够在左侧的存储库列表中看到您的存储库。

Select your repository from the list(if it's not already selected) and you should be able to see the changes you made and the difference between your branch and the forked repository's branch.

从列表中选择您的存储库(如果尚未选择),您应该能够看到所做的更改以及分支与分支的存储库分支之间的差异。

Next, click the Pull Request button at the top-right corner of the user interface.

接下来,单击用户界面右上角的“ 拉取请求”按钮。

Pull Request Button

You will be asked to add a comment and description for the pull request so do so. A one-liner for what you added to the code is a great candidate for a pull request comment. Similarly, you can add a numbered list of changes you made to the code in the pull request description which would really help the owner of the forked repository to quickly understand what you did.

系统将要求您为拉取请求添加评论和说明,因此请这样做。 对于您添加到代码中的代码,单行代码非常适合拉取请求注释。 同样,您可以在拉取请求描述中添加对代码所做的更改的编号列表,这将真正帮助分叉存储库的所有者快速了解您的操作。

Pull Request Comment and Description

Click the Send Pull Request button.

单击发送请求请求按钮。

You will be notified that the pull request is being sent and that the repositories are being synced. If you have not pushed your code to the remote repository, it will be automatically pushed duing this process.

您将收到通知,通知请求正在发送并且存储库正在同步。 如果您尚未将代码推送到远程存储库,则会在此过程中自动将其推送。

Syncing

The owner of the repository will be notified of the pull request.

存储库的所有者将收到有关拉取请求的通知。

You will also be shown the URL of the pull request in case you wish to discuss it further.

如果您希望进一步讨论该请求,还将显示该请求的URL。

Pull Request URL

##Curtains

##窗帘

As if sending the pull request from Github web interface wasn't simple enough, doing it using the Github desktop application is even simpler.

好像从Github Web界面发送拉取请求还不够简单,使用Github桌面应用程序执行请求甚至更加简单。

The Github desktop application is not limited to sending pull requests, you can play around and check in on the host of operations you can perform using the application.

Github桌面应用程序不仅限于发送拉取请求,您还可以在其中玩转并签入可使用该应用程序执行的一系列操作。

I hope you found this tutorial interesting and knowledgeable. Until my next piece, happy coding!

我希望您发现本教程有趣且知识丰富。 直到我的下一篇文章,祝您编程愉快!

翻译自: https://scotch.io/tutorials/how-to-send-a-pull-request-using-the-github-desktop-client

github 拉取

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: githubdesktop_zh-main.zip是GitHub Desktop的中文主题包压缩文件。 GitHub Desktop是由GitHub开发的一款可视化的Git客户端工具,它提供了一种简单、直观的方式来管理你的Git仓库。在使用GitHub Desktop时,用户可以通过可视化的界面操作,而无需记住复杂的Git命令。 这个中文主题包githubdesktop_zh-main.zip是为了让中国用户更方便地使用GitHub Desktop而开发的。通过将这个主题包安装到GitHub Desktop中,用户可以将软件的界面语言切换为中文,从而更好地理解和使用该软件。 将主题包安装到GitHub Desktop非常简单。首先,用户需要下载githubdesktop_zh-main.zip文件并解压缩。然后,在GitHub Desktop的菜单栏中选择"File"(文件),在打开的下拉菜单中选择"Options"(选项)。在弹出的对话框中,选择"Appearance"(外观)选项卡,并找到"Language"(语言)一栏。在这里,选择"中文"作为GitHub Desktop的语言。最后,点击"Save"(保存)按钮,GitHub Desktop就会自动切换为中文界面。 通过安装githubdesktop_zh-main.zip主题包,用户可以更好地理解GitHub Desktop的各个功能和操作,提高工作效率。 ### 回答2: githubdesktop_zh-main.zip 是一个 GitHub Desktop 的中文版本的压缩文件。GitHub Desktop 是一个适用于 Windows 和 macOS 的开源桌面应用程序,它提供了一个可视化图形界面,使用户能够更方便地使用 GitHub 进行版本控制和协作开发。 该压缩文件包含了 GitHub Desktop 中文版的所有文件和资源。通过解压该文件,并安装其中的软件或应用程序,用户可以将其部署到自己的计算机上,从而开始使用 GitHub Desktop 的中文版。 安装完成后,用户可以使用 GitHub Desktop 中文版来进行以下操作:克隆远程仓库到本地,创建新的分支,查看和比较不同版本的文件,进行提交和推送操作,处理合并冲突等等。同时,GitHub Desktop 的用户界面非常直观和友好,使用户能够更轻松地协作和管理他们的项目。 通过在 GitHub Desktop 中文版中配置 GitHub 账户,用户可以轻松地与其他用户合作,共享和合并代码,并随时保持与远程仓库的同步。 总而言之,githubdesktop_zh-main.zip 是一个包含 GitHub Desktop 中文版的压缩文件,通过安装该文件中的软件或应用程序,用户可以方便地使用 GitHub Desktop 来进行版本控制和协作开发。 ### 回答3: githubdesktop_zh-main.zip 是一个文件压缩包,其中包含了 GitHub Desktop 的中文版本。GitHub Desktop 是一个用于管理 GitHub 代码仓库的桌面客户端工具。 在这个压缩包中,你可以找到 GitHub Desktop 的安装文件。安装之后,你可以使用这个工具来轻松地进行代码同步、提交、拉取、分支管理等常见操作,而无需使用命令行或者网页。 使用 GitHub Desktop,你可以方便地将你的代码推送到 GitHub 上的远程仓库,或者从远程仓库拉取最新的代码到本地进行修改。它提供了一个直观的用户界面,可以帮助你进行代码版本控制。 对于那些不太熟悉命令行操作的开发者来说,GitHub Desktop 是一个很好的选择。它提供了一个可视化的界面,让开发者可以更轻松地进行代码管理,而不需要记住一些复杂的命令。 总之,githubdesktop_zh-main.zip 是一个包含 GitHub Desktop 中文版本的压缩包。通过安装这个工具,你可以更便捷地管理你的 GitHub 代码仓库,进行代码同步和版本控制。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值