如何在GitHub上上传文件 [英] How To Upload Files on GitHub

查看:202
本文介绍了如何在GitHub上上传文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近下载了 GitHub 并在其上创建了一个存储库。我正在尝试上传一个 Objective C 项目。我怎么去做这个?

解决方案

好的,这真的有很多。我假设您在 http://github.com/ 上有一个帐户。如果没有的话,去买一个。

之后,你真的可以按照他们的指导,非常简单和容易,解释比我的清晰得多: http://help.github.com/ >> http://help.github.com/mac-set-up-git/

回答你的具体问题:通过添加你需要的文件后,通过 git push 命令将文件上传到github。文件'并提交它们 git commit -mmy commit messsage


I have recently downloaded GitHub and created a repository on it. I am trying to upload an Objective C project in it. How do I go about doing this?

解决方案

Well, there really is a lot to this. I'm assuming you have an account on http://github.com/. If not, go get one.

After that, you really can just follow their guide, its very simple and easy and the explanation is much more clear than mine: http://help.github.com/ >> http://help.github.com/mac-set-up-git/

To answer your specific question: You upload files to github through the git push command after you have added your files you needed through git add 'files' and commmited them git commit -m "my commit messsage"

这篇关于如何在GitHub上上传文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆