git 使用 BitBucket 配置 egit
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7906529/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Configuring egit with BitBucket
提问by Rudy
I decided to try BitBucket and Git but I'm confused on how to configuring eGIT ( Eclipse GIT plugin ) to connect to Bitbucket's GIT repo.
我决定尝试 BitBucket 和 Git,但我对如何配置 eGIT(Eclipse GIT 插件)以连接到 Bitbucket 的 GIT 存储库感到困惑。
Anybody know any documentation on this? Thanks.
有人知道这方面的任何文件吗?谢谢。
Update : I gave up to solve the issue, and currently using SourceTree, which is a simple tool to deal with this. It's a free tool created by Attlasian ( the company that created Jira ).
更新:我放弃了解决这个问题,目前使用 SourceTree,这是一个简单的工具来处理这个问题。它是由 Attlasian(创建 Jira 的公司)创建的免费工具。
回答by Javi Pedrera
I have found this url very useful
我发现这个网址非常有用
http://wangpidong.blogspot.com.es/2012/05/how-to-use-bitbucket-with-egit-in.html
http://wangpidong.blogspot.com.es/2012/05/how-to-use-bitbucket-with-egit-in.html
回答by Mark Longair
Your question is essentially asking for documentation on using egit - you can find that all here:
您的问题本质上是要求提供有关使用 egit 的文档-您可以在此处找到所有内容:
In particular, the user manual that is linked from there describes both how to clone a repository using EGit and work with an existing repository — it's not clear from your question which situation you are in. The only difference between using a BitBucket git repository and one from another repository-hosting service is the URL, essentially. Broadly speaking, you should use the SSH URL if possible.
特别是,从那里链接的用户手册描述了如何使用 EGit 克隆存储库和使用现有存储库 - 从您的问题中不清楚您处于哪种情况。使用 BitBucket git 存储库和使用 BitBucket git 存储库之间的唯一区别本质上,来自另一个存储库托管服务的 URL 是 URL。一般来说,如果可能,您应该使用 SSH URL。
回答by Thomas Luechtefeld
You may run into egit authentication problems while pushing.
To solve that problem you can open up the git repository viewer and add a remote repository.
More details can be found here: http://lechmigdal.blogspot.com/2012/08/eclipse-egit-authenticity-of-host-cant.html
推送时您可能会遇到 egit 身份验证问题。要解决该问题,您可以打开 git 存储库查看器并添加一个远程存储库。
更多细节可以在这里找到:http: //lechmigdal.blogspot.com/2012/08/eclipse-egit-authenticity-of-host-cant.html