Upload your files to GitHub

Create new rep in your GitHub account


Open cmd or terminal

Do the following steps while you are in the project directory.

Type the following command to create a new folder for git

this will create a new folder called .git

git init

git add .

git commit -m "First commit"

git remote add origin https://github.com/MyUserName/MyRepName.git

git push -u origin master

Soruce


Leave a Reply

Your email address will not be published. Required fields are marked *