Push existing project into Github

后端 未结 18 970
天涯浪人
天涯浪人 2020-12-04 04:25

I have a folder with my project sources. How I can push this project into Github\'s repository?

I tried using this steps:

  1. I created empty repository o
18条回答
  •  醉酒成梦
    2020-12-04 05:07

    1. From command line, navigate to your local repository directory.
    2. Create new repository in GitHub, it will provide you with a link ends with .git.
    3. in cmd run : git remote add origin [your_GitHub_Repository_link] (remember link should end with .git )
    4. then run : git push -u origin master

    Hope this was useful.

提交回复
热议问题