• Register
1 vote
145 views

Problem :

I am unable to clone my Git repository, and getting below error:

/c/Projects $ git clone http://stage.abc.com:10088/pqr
http://<url>/<repository> Cloning into '<repository>'... fatal: could not read Username for 'http://<url>': No such file or dir

Please let me know any pointers to resolve my error.

6 5 3
7,540 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I had faced the similar problem with  the GitHub. I can assure you that it is very easy to solve it.

1. Generate the SSH key on the computer as described in following link : Generating SSH keys.

2. Now Login to your GitHub account using following link : GitHub Login.

3. In your account, you need to add your newly generated SSH Key using following link: My account SSH keys.

4. Finally you need to try again to git clone the project.

OR

 

I also faced the similar issue in the recent past. I did the below procedure and it started working for me:

1. Generate the Keys from your GIT GUI client on the Windows. And Copy this key to your clipboard.

2. Now open up the account on the bitBucket/ git website, and try to add the key to your profile. This way, your server will know that you are the legitimate user who is trying to access from the legitimate system.

3. That is it. All push commands worked for me after following above procedure.

9 7 4
38,600 points

Related questions

0 votes
1 answer 85 views
85 views
Problem : I am unable to clone my Git repository and getting below error: ​/c/Projects $ git clone http://stage.abc.com:10088/pqr http://<url>/<repository> Cloning into '<repository>'... fatal: could not read Username for 'http://<url>': No such file or directory ​ How can I fix the above error?
asked Jan 16, 2020 jwilliam 3.9k points
0 votes
1 answer 4 views
4 views
Problem: Icould not read from remote repository git clone and getting the above eror . can somebody help?
asked Apr 8 Sana8989 8.9k points
1 vote
1 answer 7 views
7 views
Problem: How to fix this error : permission denied (publickey). fatal: could not read from remote repository.
asked Apr 3 MUHAMMAD MUNEEB 83k points
0 votes
1 answer 30 views
30 views
Problem: *Emails are not allowed*: permission denied (publickey). fatal: could not read from remote repository.
asked Feb 23 Muneeb Saadii 130k points
0 votes
1 answer 7 views
7 views
Problem: I know my question looks similar to some questions, but I think that my problem is something new maybe. $ git init # Make a new repository $ git add -A # Add all the files which have not been added $ git commit -m "Initialize repository" $ git push ... fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository. Could you please give me some ideas?
asked Apr 26 sumaiya simi 43.9k points
0 votes
1 answer 5 views
5 views
Problem: Please let me know how to fix the issue.git fatal: could not read from remote repository.
asked Apr 17 ashik 14.6k points
0 votes
1 answer 5 views
5 views
Problem: What are my options for dealing with this issue:git could not read from remote repository?
asked Apr 17 ashik 14.6k points
0 votes
1 answer 6 views
6 views
Problem: I've cloned a private repo, forked it and made som changes into a feature branch. When I try to push these changes into the repo i get the following message: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the ... to push with git push --set-upstream origin but it's just showing me the same error. Have anyone of you seen this before?
asked Apr 24 sumaiya simi 43.9k points
0 votes
1 answer 3 views
3 views
Problem: I'm having trouble finding a solution; could you please assist me .github could not read from remote repository
asked Apr 17 ashik 14.6k points
0 votes
1 answer 5 views
5 views
Problem: how can solve this problem.,. fatal: not a git repository (or any of the parent directories):
asked Apr 1 Ifra 37.2k points