I use Eclipse with GIT plugin. I try to add a new GitHub repository, by copying the GitHub URL to the clipboard, then going to the "Git Repositories" view and right-clicking "Paste Repository Path or URL".
I get the following error:
https://github.com/rothariel/aimnegochat : https://github.com/rothariel/aimnegochat/info/refs?service=git-upload-pack not found
This is strange, because I already have some repositories in this view...
From Erel's answer to my question in the comment section, it turned out the mistake was the copy of the wrong url. So, instead of copying the url provided by github, Erel copied the url in the navigation bar. The solution was to change the repository address to https://github.com/rothariel/aimnegochat.git
For users of EGit/Eclipse who get the same error when clone from Visual Studio Online, be careful the repo URL is not: - https://[alt-name].visualstudio.com/DefaultCollection/[your_repo]
the correct one is: - https://[alt-name].visualstudio.com/DefaultCollection/ _git/ [your_repo]
I had this message before service=git-upload-pack not found
Seems the gitlab user & password I used for that git was wrong. I changed it to the right one and it worked just fine.
Yosi Lev
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.