GIT java web项目大量更新失败

我创建了一个远程的git仓库,里面的代码很原始。
我在本地进行了大量的修改,删除了很多旧的文件,新增了很多文件,一些基本的文件夹都改变了。
当我提交的时候git remote add origin
报错
error: src refspec mater does not match any.
error: failed to push some refs to 'https://
我应该如何提交。替换掉远程仓库上面的项目。

建了一个远程的git仓库,里面的代码很原始。
我在本地进行了大量的修改,删除了很多旧的文件,新增了很多文件,一些基本的文件夹都改变了。
当我提交的时候git remote add origin
报错
error: src refspec mater does not match any.
error: failed to push some refs to 'https://
我应该如何提交。替换掉远