环境
我想将某些源推送到git存储库。
但是要推动它有一些问题。
错误消息在下面:
D:\workspace\excel-demo>git push -u origin master Counting objects:
42, done. Delta compression using up to 8 threads. Compressing
objects: 100% (28/28), done. Writing objects: 100% (42/42), 50.75 KiB
| 2.82 MiB/s, done. Total 42 (delta 2), reused 0 (delta 0) error: RPC
failed; HTTP 403 curl 22 The requested URL returned error: 403
Forbidden fatal: The remote end hung up unexpectedly fatal: The remote
end hung up unexpectedly Everything up-to-date
我已在test@~~~~/~~~.git
之类的远程信息中设置了凭据>
我该怎么办?
环境客户端:Windows服务器:Gogs,我想将某些源推送到git存储库。但是要推动它还有一些问题。错误消息如下:D:\ workspace \ excel-demo> git push -u ...
[test@~~~~/~~~.git
不是“凭证”(登录名/密码),而是SSH URL,这意味着:以“ test”用户身份连接到远程服务器,并使用~~~.git
作为远程Git存储库目的地。
[起初我以为我可能是-u
选项广告master
已经设置好了,但是您会收到一条不错的git消息。
尝试使用:git push origin master