克隆 GitHub 存储库意味着什么?
我正在尝试将 Facebook 与我的应用程序集成。我在 developers.facebook.com 上读到了这篇文章:
我已经安装了 XCode 和 Git。
克隆 GitHub 存储库意味着什么?我该如何做到这一点?
I am trying to integrate Facebook with my app. I read this on developers.facebook.com:
I have installed XCode and Git.
What does it mean to clone a GitHub repository and how can I do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
克隆存储库意味着复制并下载存储库中的所有内容。
您使用的是 Mac,因此启动终端,创建一个文件夹并键入以下命令:
它将复制并下载整个存储库。
To clone a repository means to duplicate and download everything in the repository.
You are on a Mac, so launch Terminal, create a folder and type this command:
It will duplicate and download the entire repository.
克隆 git 存储库意味着您创建开发人员提供的代码的本地副本。您只需使用命令行即可完成此操作:
并且您将在
facebook-ios-sdk
目录中找到代码。Cloning a git repository means that you create a local copy of the code provided by developer. You can simply do it with a command line:
and you'll have the code in the
facebook-ios-sdk
directory.克隆 git 存储库基本上就是将代码库下载到您自己的计算机上,这样您就可以使用、编辑...这个代码库。
这样做很简单,只需创建一个要存储此代码的文件夹,然后从终端从该文件夹执行:
Cloning a git repository is basically downloading a code base to your own machine, so you can use, edit... this code base.
For doing it is as easy as creating a folder where you want to store this code, and then from the terminal execute from this folder:
克隆存储库意味着您正在从源代码管理下载源代码的副本。要使用 iOS SDK,您必须从 GitHub 下载代码(即克隆 iOS SDK 存储库)。
键入。
从 shell/命令提示符
Cloning a repository means that you're downloading a copy of the source code from source control. To use the iOS SDK you have to download the code from GitHub (ie- clone the iOS SDK repository).
Type
from a shell / command prompt.
克隆基本上意味着您想要获取存储库中存在的代码的本地副本。
克隆后,您可以在代码中进行任何您喜欢的更改,然后您可以将更改拉回存储库
Cloning basically means you want to get a local copy of the code present in the repository.
After cloning you can then do whatever changes you like in the code and then you can pull the changes back to the repository
克隆存储库
克隆 = 表示复制
Repo = 是存储库的缩写形式,它是项目的完整文件
创建一个文件夹,打开终端并将路径放入要保存存储库的文件夹中,然后运行此命令
此命令将所有文件下载到该文件夹
“提前欢迎”
clone the repo
Cloning = means copying
Repo = is short form of Repository which is the complete files of the project
Create a folder, Open terminal and take the path into that folder where you want to save the repo, and then run this command
This command will download all the files to that folder
Welcome in Advance