git push到远程仓库的时候,报错

来源:2-4 代码关联Git远程仓库

頔不敌

2022-08-15

E:\Develop\DevelopSource\houduan\imooc\wiki>git push -u origin master
Enumerating objects: 21, done.
Counting objects: 100% (21/21), done.
Delta compression using up to 4 threads
Compressing objects: 100% (12/12), done.
Writing objects: 100% (21/21), 7.67 KiB | 1.10 MiB/s, done.
Total 21 (delta 0), reused 0 (delta 0)
error: RPC failed; HTTP 401 curl 18 transfer closed with 426 bytes remaining to read
fatal: the remote end hung up unexpectedly

写回答

1回答

甲蛙

2022-08-15

看起来是401报错,没权限,需要确认用户名密码是否正确,或像课程一样,用ssh

0
0

Spring Boot+Vue3前后端分离,实战wiki知识库系统

一课掌握前后端最火框架,更有职场竞争力

2525 学习 · 1672 问题

查看课程