• Register
1 vote
111 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 68 views
68 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
1 vote
1 answer 71 views
71 views
Problem : I have recently started to learn the GIT. I was working on my GIT and suddenly I started facing below error. &ldquo;Fatal: not a git repository (or any of the parent directories): .git&rdquo; As I am very new to GIT so I am unable to understand above error ... the error from past couple of days but unable to fix it. Is there anyone who can spare some time and guide me to fix above error?
asked Mar 30, 2020 morrisBson 3.2k points
0 votes
2 answers 160 views
160 views
Problem : When ever I try to push to a shared git remote I get the following error remote: error: insufficient permission for adding an object to repository database ./objects
asked Nov 16, 2019 peterlaw 6.9k points
0 votes
1 answer 2.5K views
2.5K views
Problem : I have the below problem when I just try to pull code, using my GIT Bash on windows Even after adding/removing the origin I am still facing the same error as below. Fatal: could not read Username for 'https://github.com': No such file or directory
asked Dec 19, 2019 alecxe 7.5k points
0 votes
1 answer 3K views
3K views
Problem : I created my private repo examplessite/myprivaterepo using my Github UI from my browser. Then I went to my go directory which is on my desktop and tried to clone it: $ cd $GOPATH $ go get github.com/examplessite/myprivaterepo So far so good. I created ... .com/examplessite/myprivaterepo: exit status 128 Why is the laptop ignoring my own repo and how can I make it to accept its luck?
asked Dec 17, 2019 alecxe 7.5k points
0 votes
1 answer 69 views
69 views
Problem : I am trying to use the TortoiseGit on my Windows. But when I want to Clone it from my context menu of the standard Windows Explorer then I face below error: Please make sure you have the correct access rights and the repository exists In more detail the complete snapshot of ... exit cleanly (exit code 128) (21450 ms @ 17.12.2019 10:36:58) What should I do to make my git work correctly ?
asked Dec 19, 2019 alecxe 7.5k points
1 vote
2 answers 216 views
216 views
Problem : I need solution for bellow GIT error another git process seems to be running in this repository, e.g. an editor opened by 'git commit'.
asked Nov 8, 2019 peterlaw 6.9k points
0 votes
1 answer 701 views
701 views
Problem: I am having only basic knowledge of git. Now I am trying to clone the project from a gitlab to my own local machine. I have already been granted rights as the developer on it and I have used the command as 'git clone&rsquo;. But none of the ... &ldquo;Remote: The project you were looking for could not be found.&rdquo; Any help in fixing my git related error would be highly appreciated.
asked Sep 4, 2020 Raphael Pacheco 4.9k points
0 votes
2 answers 476 views
476 views
Problem : I have installed Git for Windows but when I try to use git command in Command Prompt I get the following message: 'git' is not recognized as an internal or external command, operable program or batch file.
asked Nov 18, 2019 peterlaw 6.9k points