2 Star 3 Fork 7

JoyPoint / helloGIT

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
remote not permission.txt 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
PluginStudio 提交于 2019-09-28 16:22 . remote: not permission to push
$ git push origin master
remote: You do not have permission to push to the repository via HTTPS
fatal: Authentication failed for 'https://gitee.com/someuser/someproject.git/'
————————————————————————————————
原因分析:
原因之一:
这是由于没有设置Gitee的SSH公钥。在未设置SSH公钥的情况下,可以使用git clone Gitee上的项目,但是不能git push项目到Gitee上,如果想push项目到Gitee,那么必须配置SSH公钥。
解决方法:
生成公钥和配置公钥,可以参考Gitee帮助:https://gitee.com/help/articles/4191 。
原因之二:
可能是这台电脑以前使用过git,所以windows保存的账号和密码是其他人的,所以需要进行修改账号和密码:
解决方法:
(一)进入控制面板
(二)选择用户账户
(三)选择管理你的凭据
(四)选择Windows凭据
(五)选择git保存的用户信息
(六)选择编辑或者进行删除操作
(七)完成
JavaScript
1
https://gitee.com/JoyPoint/helloGIT.git
git@gitee.com:JoyPoint/helloGIT.git
JoyPoint
helloGIT
helloGIT
master

搜索帮助