我一直在使用Github上一小会儿,我一直罚款git add,git commit以及git push到目前为止,没有任何问题.突然间我有一个错误说:
致命:身份验证失败
在终端我克隆了一个存储库,处理了一个文件然后我用来git add将文件添加到提交日志中,当我这样做时git commit,它运行正常.最后,git push要求输入用户名和密码.我正确地把它们放进去,每次我这样做,它都说同样的错误.
有谁知道这个问题的原因是什么以及我如何解决它?
内容.git/config是:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = http://www.github.com/######/Random-Python-Tests
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[user]
name = #####
email = ############
Run Code Online (Sandbox Code Playgroud) 我正在尝试使用git将我的存储库推送到visual studio团队服务项目,但是我得到了错误:
fatal: Authentication failed for (url of team project
Run Code Online (Sandbox Code Playgroud)
我正在使用cmds:
git remote add origin
https://XXXXXXX.visualstudio.com/DefaultCollection/_git/project
git push -u origin -–all
Run Code Online (Sandbox Code Playgroud)
有什么想法解决这个问题吗?
谢谢!
更新域密码后,无法再访问git-repo.VS Code和Source Tree以及Visual Studio在pull,push,fetch等上返回以下错误消息.
fatal: Authentication failed
Run Code Online (Sandbox Code Playgroud)
通常会出现凭据弹出窗口,但这不会发生.也是共同的建议......
git config --global credential.helper wincred
Run Code Online (Sandbox Code Playgroud)
...不管用.