Push local git project to GitHub

git

1) create a new repository in github (after login to github)
2) Open Command Prompt and create a new folder “helloApp”
3) and type “$ git init”
4) create your files and then add the project to git
a) $ git remote add helloApp https://github.com/yourUserId/helloApp.git
5) Push the project to server (github)
a) $ git push –set-upstream helloApp master
b) provide the credentials of your github account

Leave a comment