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 
 

猜你喜欢

转载自km-moon11.iteye.com/blog/2092847