git push报错

命令:git  push -u origin master 

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

 

解决方法:

 git remote rm origin
git commit -m 'firset commit'
git remote add origin git地址
 git  push -u origin master 
 

 

你可能感兴趣的:(push)