如果我尝试在Git

时间:2017-02-14 12:42:04

标签: git

如果我单个文件更改,那么一切正常。我可以做git add,commit并最终将更改推送到原点。

但如果我确实更改了多个文件,那么git addcommit就可以了,但是当我git push origin master时,我的错误就会出现错误......

D:\gitproject\ng2-SystemJS>git push https://github.com/intekhhab/ng2-SystemJS.git master
Logon failed, use ctrl+c to cancel basic credential prompt.
Username for 'https://github.com/': intekhhab@gmail.com
Password for 'https://intekhhab@gmail.com@github.com/':
Counting objects: 7, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 1.44 KiB | 0 bytes/s, done.
Total 7 (delta 3), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
error: RPC failed; HTTP 403 curl 22 The requested URL returned error: 403 URLBlockeddueRestrictedCategory
Everything  up-to-date

1 个答案:

答案 0 :(得分:0)

错误告诉您登录失败,您可以尝试转到github repo注销,然后再次登录并尝试使用刷新的凭据从控制台推送