摘要: 一、先查看本地设置的远程库别名 $ git remote -v 二、增加远程库别名 git remote add origin git远程库的详细地址 三、再次查看 别名 git remote -v 四、推送本地库文件到远程库 git push origin master 阅读全文