1, create a new rep

2, 进入到本地仓库:

$ git remote set-url origin URL

3,上传

git push -v

ref: https://www.douban.com/group/topic/33666661/

05-11 21:51