I have a repository on git hub, and I'm trying to clone this repository to a different computer. I'm going to the repository -> open in visual studio -> after the computer filled the repository address and the folder to save it, I'm pressing clone, but the following error happens:
Git failed with a fatal error.
fatal: AggregateException encountered. One or more errors occurred.
error: cannot spawn askpass: No such file or directory
fatal: could not read Username for 'https://github.com': terminal prompts disabled`
I have tried the following :
change repository address to [email protected]/User_Name/project_name.git
also tried https://{username}:{password}@github.com/{username}/project.git
what else should I do? Thanks!