Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git upload project full site

I am new for using Github. I want upload my full site in new Repository in Github.com. But Github just can upload not more than 100file, and I'm download codeigniter-3 it's have 253file (original without my new file).
Can I upload my project in to Github?

like image 882
Stfvns Avatar asked Jan 06 '23 07:01

Stfvns


2 Answers

This is likely a limitation of the drag and drop interface. I'd suggest to get familiar with the command line client instead. It's much more convenient than using the web interface and you'll need it anyway if you want to do serious work on that project from your dev machine.

First clone your project to a local directory:

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

Then from your project directory, add all the files:

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

Alternatively, consider using https://desktop.github.com/

Reference:

  • https://help.github.com/articles/cloning-a-repository/
  • https://help.github.com/articles/adding-a-file-to-a-repository-from-the-command-line/
like image 108
Gordon Avatar answered Jan 07 '23 21:01

Gordon


GitHub upload file step by step follow.

  1. Now first create account on github.

https://github.com/login

  1. create repository in your GitHub account.

  2. setup git directory on your project directory by GIT Clone. after git clone setup .GIT directory on your project with config.

    Example: ##Config git repository##

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

after push successfully upload your project.

like image 26
13 revs Avatar answered Jan 07 '23 19:01

13 revs