问题描述:
使用git并远程到github仓库时,使用git status查看状态,显示如下图所示:
使用git push提交到远程端github的仓库时,出现:
Please make sure you have the correct access rights and the repository exists.
网上查询很多方法,例如:
CSDN jingtingfengguo: git遇到的问题之“Please make sure you have the correct access rights and the repository exists.”
怎么如此复杂emmmm…
我感觉我此刻的不需要如此复杂的解决。于是,尝试了一下:
问题解决:
输入:
git remote set-url origin https://github.com/(your user name)/(your repositories name).git
再次git push
OK解决啦~