-
初始化一个repo
echo "# gonote" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/smiteLi/gonote.git
git push -u origin master -
把已有repo与远程repo关连
git remote add origin https://github.com/smiteLi/gonote.git
git push -u origin master
网友评论