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

  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"

posted @ 2018-07-10 23:25  huanlegu0426  阅读(141)  评论(0编辑  收藏  举报
returnTop $(function(){ $('#returnTop').click(function () { $('html,body').animate({ scrollTop: '0px' }, 800); returnfalse; }); });