How to upload a project to Github

前端 未结 23 1382
误落风尘
误落风尘 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:04

    How to upload a project to Github from scratch

    Follow these steps to project to Github

    1) git init

    2) git add .

    3) git commit -m "Add all my files"

    4) git remote add origin https://github.com/yourusername/your-repo-name.git

    Upload of project from scratch require git pull origin master.

    5) git pull origin master

    6) git push origin master

提交回复
热议问题