Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot clone git-repository Visual Studio

avansoft August 8, 2018

Hello! I've using Windows 7 and Visual Studio 15.7.6. When i try to clone repo from bitbucket, i get a following error:

Git failed with a fatal error.
HttpRequestException encountered.
�ந��諠 �訡�� �� ��ࠢ�� �����.
cannot spawn /C/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team Explorer/Git/mingw32/libexec/git-core/git-askpass.exe: No such file or directory could not read Password for 'https://avansoft@bitbucket.org': terminal prompts disabled

But when i try it with VS 14.0, i haven't this problem. Result of the command git config --list --show-origin:

file:"C:\\ProgramData/Git/config" core.symlinks=false
file:"C:\\ProgramData/Git/config" core.autocrlf=true
file:"C:\\ProgramData/Git/config" core.fscache=true
file:"C:\\ProgramData/Git/config" color.diff=auto
file:"C:\\ProgramData/Git/config" color.status=auto
file:"C:\\ProgramData/Git/config" color.branch=auto
file:"C:\\ProgramData/Git/config" color.interactive=true
file:"C:\\ProgramData/Git/config" help.format=html
file:"C:\\ProgramData/Git/config" rebase.autosquash=true
file:C:/Program Files/Git/mingw64/etc/gitconfig http.sslcainfo=C:/Program Files/
Git/mingw64/ssl/certs/ca-bundle.crt
file:C:/Program Files/Git/mingw64/etc/gitconfig http.sslbackend=openssl
file:C:/Program Files/Git/mingw64/etc/gitconfig diff.astextplain.textconv=astext
plain
file:C:/Program Files/Git/mingw64/etc/gitconfig filter.lfs.clean=git-lfs clean -
- %f
file:C:/Program Files/Git/mingw64/etc/gitconfig filter.lfs.smudge=git-lfs smudge
-- %f
file:C:/Program Files/Git/mingw64/etc/gitconfig filter.lfs.process=git-lfs filte
r-process
file:C:/Program Files/Git/mingw64/etc/gitconfig filter.lfs.required=true
file:C:/Program Files/Git/mingw64/etc/gitconfig credential.helper=manager
file:C:/Users/Roma/.gitconfig user.name=xxxxxx
file:C:/Users/Roma/.gitconfig user.email=xxx@xxxxx.xx

My task on VS Community https://developercommunity.visualstudio.com/content/problem/307210/cannot-clone-git-repository.html

2 answers

1 vote
avansoft August 8, 2018

Thank you for your answer!

Do you mean a Visual Studio comand prompt? Unfortunately, i don't know how i can to clone repository through it.

Yes, i did check credentials, it's ok. When i use it with VS 14.0 i haven't problem.

The screenshot with error:

Clip2net_180808200908.png

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 8, 2018

Hi Roman, welcome to the Community!

In your case, since it fails with one version of VS but not with the other one, looks like this might be related to VS itself. Can you give us some more info to troubleshoot this issue?

  • Have you tried cloning/pushing/pulling the repository using the command line directly? Do you get any error?
  • If you do, can you send us a screenshot of the error message you get?
  • Can you double check that the credentials that Visual Studio 15.7.6 it's offering are the right ones?

Let us know!

Ana

avansoft August 9, 2018

@Ana Retamal, when i try to cloning the repository through command line directly, i get an error (translated from russian): "The specified argument is out of range of values. Parametr name: resultType"

Clip2net_180809191701.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events