Git 上传项目完整站点

Git upload project full site

我是新手 Github。我想在 Github.com 的新存储库中上传我的完整站点。但是Github只能上传不超过100个文件,我下载codeigniter-3它有253个文件(没有我的新文件的原始文件)。
我可以将我的项目上传到 Github 吗?

这可能是拖放界面的限制。我建议改为熟悉命令行客户端。它比使用 Web 界面方便得多,如果您想从您的开发机器上对该项目进行认真的工作,无论如何您都需要它。

首先将您的项目克隆到本地目录:

$ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY

然后从您的项目目录中添加所有文件:

$ git add .
$ git commit -m "initial commit"
$ git push origin master

或者,考虑使用 https://desktop.github.com/

参考:

GitHub 按照步骤上传文件。

  1. 现在首先在 github 上创建帐户。

https://github.com/login

  1. 在您的 GitHub 帐户中创建存储库。

  2. setup git 通过GIT克隆到你的项目目录。 在 git 使用 config.

    克隆项目上的 .GIT 目录后

    示例:##Config git 存储库##

git clone https://github.com/username/repository

   ##upload project on GIT##
  git add /your-folder

   git commit -m 'your first commit'

   git push -u origin master

推送成功后上传你的项目。