简体   繁体   English

私有存储库的Git身份验证失败

[英]Git Authentication Failing for Private Repositories

I am trying to clone my git hub repositories on my desktop. 我正在尝试在桌面上克隆git hub存储库。 I am able to clone any public repositories, but cloning my private repositories is giving me the below error 我可以克隆任何公共存储库,但是克隆我的私有存储库会给我以下错误

command:  
  git clone https://github.com/Anjul-Pathak/Test.git
error:
  remote: Repository not found.
  fatal: Authentication failed for 'https://github.com/Anjul-Pathak/Test.git/'

My Config file details are as follows:

git config --list

core.symlinks=true
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
rebase.autosquash=true
http.sslbackend=schannel
http.sslcainfo=/bin/curl-ca-bundle.crt
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
http.sslverify=false
http.proxy=https://UserId:Pwd@proxy.company.com:8080
https.sslverify=false
https.proxy=https://UserId:Pwd@proxy.company.com:8080

Same id pwd is working on Github Web interface. 同样的ID PWD在Github Web界面上工作。 I have tried removing saved credentials from Windows Credential Manager but no luck. 我曾尝试从Windows凭据管理器中删除保存的凭据,但是没有运气。 Please help 请帮忙

You config list does not show your username. 您的配置列表未显示您的用户名。 You can try setting up your user with git config --global user.name "John Doe" or git config --global user.email johndoe@example.com . 您可以尝试使用git config --global user.name "John Doe"git config --global user.email johndoe@example.com来设置用户。 git config --global user.email johndoe@example.com

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM