create your own github repository and build link to your local project
生活随笔
收集整理的這篇文章主要介紹了
create your own github repository and build link to your local project
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1. create a repository in you github.
i.e. repository name: spring5_exercise
2. initial git profile in your local project root directory. echo "# spring5_exercise" >> README.md git init git add README.md git commit -m "first commit" git remote add origin git@github.com:VictoriaLau/spring5_exercise.git git push -u origin master
i.e. repository name: spring5_exercise
2. initial git profile in your local project root directory. echo "# spring5_exercise" >> README.md git init git add README.md git commit -m "first commit" git remote add origin git@github.com:VictoriaLau/spring5_exercise.git git push -u origin master
There are two way to connect your github repository, they are https & ssh.
ssh link like "git@github.com:yourGithubAccount/githubRepositoryName.git" i.e.: "git@github.com:VictoriaLau/spring5_exercise.git"
https link like "https://github.com/yourGithubAccount/githubRepositoryName.git"
轉載于:https://www.cnblogs.com/huanlegu0426/p/link-local-project-to-github.html
總結
以上是生活随笔為你收集整理的create your own github repository and build link to your local project的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 在Windows运行Python程序
- 下一篇: 吃饭/训觉-工作室应用隐私政策