基于空仓库
新建空仓库https://github.com/fengchunjian/goinaction_demo
本地仓库与远程仓库连接:git remote add origin https://github.com/fengchunjian/goinaction_demo
查看远程仓库连接:git remote -v
提交远程仓库:git push origin master或git push
基于clone
git clone https://github.com/fengchunjian/goinaction_demo
提交远程仓库:git push origin master或git push
从远程拉回本地
git pull origin master
网友评论