...>git push -u origin master
Access deined:You do not have permission push to this repository
fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
是不是很恼人!!
看下图,轻松解决:

1、找到项目的.git文件夹(有可能隐藏),下.config文件,用编辑器打开,
2、复制要推送的远程仓库地址,
3、将步骤3的地方改为步骤2的地址即可