Im trying to clone a repository from CodeCommit, but it brings me another repository all the time... when i do "git remote -v" I see the repository that Im getting and not the one I want.
I tried adding the repository I want to clone to the remote by doing "git remote add master https://path" and i see it being added with the other repository
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)
I tried deleting the not wanted repository "git remote remove origin" but it says "fatal: No such remote: 'origin'"
tried removing git and restarting pc ...nothing worked can anyone help?
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