this tutorial will tell you how to add existing project to your git hub account.
Step1.
Go to your GITHUB account.
Create New repository
add repository |
Step2.
Fill the required details.
( uncheck create read me ).
Add details |
Step 3.
Open GIT shell from your desktop.
Step 4.
Go to the directory of your project using cd “path of the project”
Initialize git by using command git init
Add your files by using command git add .
Commit your files by command git commit –m ‘first commit’
commands to add git |
STEP 5 Select your repository
Add using command git remote add origin https://github.com/username/projectname.git
Now push the project to git git push -u origin master
push command |
Comments
Post a Comment