Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git询问https repo的ssh凭据_Git_Github - Fatal编程技术网

Git询问https repo的ssh凭据

Git询问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

我在本地网络上有一个git存储库。存储库已配置为使用https。当我输入命令时,比如 git-fetchgit-push等它总是通过控制台请求凭据。 不久前,我已经将github存储库克隆到我的PC上,之后,对本地服务器的每个请求都会要求我提供ssh凭据,每次合并git都会要求我输入合并消息。在克隆github存储库之后,git配置中似乎发生了一些变化。我查过gitconfig,但什么也没找到。请帮助找出是什么导致了这种奇怪的git行为

.git/config

[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,这很难理解。请使用问题左下角的编辑链接并在此处添加配置,而不是添加注释。