Frage

I have a BitBucket (Git) repository that I want to work on through eclipse. When I search online I find that I need to use mercurialeclipse. So I install it. Then I try doing in eclipse File > import > mercurial > clone existing mercurial repository. But when I copy the url from BitBucket, it says Clone repository URL is invalid! My guess is that this is happening because my repo is a Git repo. Again, I am very very new to BitBucket so I may be wrong about that.

Can someone please guide to the correct approach? After much failure, I finally found talks about EGit. Should I use that instead? I am using Juno on mac osx mountain lion.

My objective is to be able to do commits etc from within eclipse.

War es hilfreich?

Lösung

Install the eclipse EGit plugin and use that to clone the Git repository. It is not necessary to uninstall the other plugins (mercurial) in order to work with the eclipse EGit plugin.

Andere Tipps

Check the user's credentials well, if where you try to clone the repository is a server or ip, check with Windows + R entering the path of your repository and authenticate so that the eclipse can take the repository correctly.

You probably should consider using EGit plugin: the interface is pretty intuitive and the import is easy.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top