Thursday, March 28, 2019

How to upload local project from windows to github

First you need to install Git for Windows, once it's done, using Command Prompt and enter following commands:

cd <the folder>
git init
git add .   //for all files under the folder
commit -m "adding files" git remote add origin https://github.com/<your-user-name>/<your-repository-name>.git
git push -u origin master

how-to-upload-a-project-to-github

No comments:

Post a Comment