git clone is not working for a private repo #23880
-
My college just created a new organization account. I created a new private repository. I got the clone string: https://github.com/MyCollege/BermudaTriange.git Then I created a directory and changed to it. Then I tried to use C:\Tmp\test>git clone https://github.com/MyCollege/BermudaTriangle.git I know the repo exists. I can use the Github desktop to make the clone onto my computer. I know that Git is working. I ran git clone on a personal repo and it worked. What is the issue? |
Beta Was this translation helpful? Give feedback.
Replies: 17 comments 1 reply
-
This is magic, Thank u a lot !!! |
Beta Was this translation helpful? Give feedback.
-
Thank you. worked for me. Magic! |
Beta Was this translation helpful? Give feedback.
-
You just saved my pc from my anger ! |
Beta Was this translation helpful? Give feedback.
-
It’s working perfectly. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Thanks. Its Working. |
Beta Was this translation helpful? Give feedback.
-
Excellent!!! I’ve searched a lot for a solution. And finally it worked :slight_smile: Many thanks. |
Beta Was this translation helpful? Give feedback.
-
Thanks due to your solution my things worked out |
Beta Was this translation helpful? Give feedback.
-
Worked Thanks. |
Beta Was this translation helpful? Give feedback.
-
big thanks 👍 |
Beta Was this translation helpful? Give feedback.
-
worked on mac too! it’s because I have set up github before… fo mac users see: |
Beta Was this translation helpful? Give feedback.
-
Thank you, it worked for me too. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your answer! Do you know is there any similar solution for Mac user? |
Beta Was this translation helpful? Give feedback.
-
Thanks,worked perfectly fine!! |
Beta Was this translation helpful? Give feedback.
-
Perfect Thanks |
Beta Was this translation helpful? Give feedback.
-
It turned out that I had old session state:
Once I did this, it started working again. |
Beta Was this translation helpful? Give feedback.
-
git push is also not working: remote: Repository not found. Git desktop can push or pull changes. I cannot get the command line to work, even the dos window that Git Desktop supplied. |
Beta Was this translation helpful? Give feedback.
-
I realize the initial post has “triangle” misspelled. However I’ve verified that the string given to me by github is the correct one. git clone https://github.com/MyCollege/BermudaTriangle.git This fails. Using the Github desktop to clone the repo, it creates the repo just fine. If I go into this repo and type git remote -v, I get the same string as above. Going into a new directory and using git clone with it fails. |
Beta Was this translation helpful? Give feedback.
It turned out that I had old session state:
Once I did this, it started working again.