Git询问https repo的ssh凭据
我在本地网络上有一个git存储库。存储库已配置为使用https。当我输入命令时,比如 git-fetch、git-push等它总是通过控制台请求凭据。 不久前,我已经将github存储库克隆到我的PC上,之后,对本地服务器的每个请求都会要求我提供ssh凭据,每次合并git都会要求我输入合并消息。在克隆github存储库之后,git配置中似乎发生了一些变化。我查过gitconfig,但什么也没找到。请帮助找出是什么导致了这种奇怪的git行为 .git/configGit询问https repo的ssh凭据,git,github,Git,Github,我在本地网络上有一个git存储库。存储库已配置为使用https。当我输入命令时,比如 git-fetch、git-push等它总是通过控制台请求凭据。 不久前,我已经将github存储库克隆到我的PC上,之后,对本地服务器的每个请求都会要求我提供ssh凭据,每次合并git都会要求我输入合并消息。在克隆github存储库之后,git配置中似乎发生了一些变化。我查过gitconfig,但什么也没找到。请帮助找出是什么导致了这种奇怪的git行为 .git/config [core] repos
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[remote "origin"]
url = https://mysupertfs.repo.ru/RepoTest/_git/Rep
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[branch "Remastered"]
remote = origin
merge = refs/heads/npaRemastered
你能和我们分享一下你的.git/config吗?@Anton,这很难理解。请使用问题左下角的编辑链接并在此处添加配置,而不是添加注释。