基于空倉庫
新建空倉庫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