How to upload a project to Github

前端 未结 23 1355
误落风尘
误落风尘 2020-11-29 14:04

After checking Upload my project to github I still have no idea how to get a project uploaded to my Git Hub repository.

I\'m new to GitHub and I have no idea what to

23条回答
  •  自闭症患者
    2020-11-29 15:05

    1. First You have to create an account on Github
    2. Then create new Project - name that Project as you want then your project url is shown
    3. Now copy the url
    4. Then open Command Prompt and go to the directory or folder which you want to upload using cmd
    5. Then type the following Commands

       git init
       git add .
       git commit -m "initial commit"
       git remote add origin PASTE URL
       git push -u origin master
      
    6. Now check your GitHub account, Repository is successfully uploaded.

    For Complete guidance, you can watch this video.

提交回复
热议问题