Git error Please make sure you have the correct access rights and the repository exists

0 votes

I am using TortoiseGit on Windows. When I am trying to Clone from the context menu of the standard Windows Explorer, I get this error:

Please make sure you have the correct access rights and the repository exists


More precisely, the snapshot of terminal is the following:

git.exe clone --progress -v "git@arobotdev:\git\AlfaRobot.git" "C:\Work\AlfaRobot"

Cloning into 'C:\Work\AlfaRobot'...
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists. What should I do to make git work properly ?

Feb 17 in Others by Rahul
• 8,980 points
15 views

1 answer to this question.

0 votes

Your git URL might have changed. Change the URL in the local directory by using the following command

for https protocol

git remote set-url origin https://github.com/username/repository.git

for ssh protocol

git remote set-url origin git@github.com:username/repository.git

answered Feb 17 by Aditya
• 7,280 points

Related Questions In Others

+1 vote
1 answer

what is the difference between error and stderr in Node.js?

Error is an object created by Node.js to handle ...READ MORE

answered Jul 4, 2019 in Others by sunshine
• 1,280 points
1,041 views
0 votes
1 answer

Can you please let m know what are the timings of next batch of AWS

Hey Anil,  As you can see from the ...READ MORE

answered Mar 26, 2020 in Others by Vardhan
• 13,200 points
334 views
0 votes
1 answer

What is the difference between hadoop and google analytics ?

I will try and answer this as ...READ MORE

answered Aug 22, 2018 in Others by Frankie
• 9,830 points
716 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,596 views
+2 votes
1 answer
0 votes
1 answer

WAMP error: Forbidden You don't have permission to access /phpmyadmin/ on this server

Change the file content of c:\wamp\alias\phpmyadmin.conf to ...READ MORE

answered Feb 23 in Others by Aditya
• 7,280 points
350 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP