How to upload a project to Github

前端 未结 23 1405
误落风尘
误落风尘 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 14:45

    Follow these two steps:

    1. Create the repository online using the link: https://github.com/new
    2. Then link your local repo to the remote repo using the command: git add remote origin https://github.com/userName/repo.git Here the repo.git will be your newly created remote repo.

    This will work like a charm. No need to worry about the SSH or HTTPS ways. I first faced the same issue and spent hours for solution. But this worked for me.

提交回复
热议问题