bitbucket 上传仓库问题记录。

来源:互联网 发布:微店网络似乎存在问题 编辑:程序博客网 时间:2024/06/06 13:45

1.提示出错信息:fatal: remote origin already exists.

  解决办法如下:输入

$ git remote rm origin

2.错误信息: error:src refspec master does not match any


 原因分析

引起该错误的原因是,目录中没有文件,空目录是不能提交上去的

解决方法

touch READMEgit add README git commit -m 'first commit'git push origin master


0 0
原创粉丝点击