git克隆带来错误的复制

git克隆带来错误的复制,git,Git,我试图从CodeCommit克隆一个存储库,但它总是给我带来另一个存储库。。。当我执行“GitRemote-v”时,我看到的是我得到的存储库,而不是我想要的 我尝试通过执行“git remote add master”将我要克隆的存储库添加到远程存储库,我看到它与其他存储库一起添加 master https://git-codecommit.eu-west-1.path (fetch) master https://git-codecommit.eu-west-1.path (pus

我试图从CodeCommit克隆一个存储库,但它总是给我带来另一个存储库。。。当我执行“GitRemote-v”时,我看到的是我得到的存储库,而不是我想要的

我尝试通过执行“git remote add master”将我要克隆的存储库添加到远程存储库,我看到它与其他存储库一起添加

    master  https://git-codecommit.eu-west-1.path (fetch)
master  https://git-codecommit.eu-west-1.path (push)
origin  https://git-codecommit.path (fetch)
origin  https://git-codecommit.path (push)
我尝试删除不需要的存储库“git remote remove origin” 但上面写着“致命的:没有这样遥远的‘起源’”

尝试删除git并重新启动pc…没有任何效果 有人能帮忙吗

C:\Users\vadnu>git config --list
core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
rebase.autosquash=true
remote.origin.url=https://git-codecommit.eu-west-1.amazonaws.com/v1/repos/ServiceCryGateway
credential.helper=!aws --profile CodeCommitProfile codecommit credential-helper $@
credential.usehttppath=true
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
http.sslbackend=openssl
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge --skip -- %f
filter.lfs.process=git-lfs filter-process --skip
filter.lfs.required=true
credential.helper=manager
user.name=vad
user.email=vad@zobit.com
credential.usehttppath=true

你有没有试过这里的答案:可能是重复的有人对你开了一个愚蠢的玩笑,并在你背后设置了一个url重写配置选项?请将git config--list的结果添加到问题中,并显示用于克隆的确切命令。添加了git config--list我运行的响应“git clone正常,因此配置中显示的源url与克隆中的url匹配。我能想到的从你最初的问题中产生症状的最简单方法是,你在错误的回购协议中运行它们。不可信的是,
git remote show
会显示与配置的url不匹配的url,这太简单了,不能像那样出错。